I'm trying to install the MediaWiki in a shared host of my university. The url will be http://www.iq.usp.br/mcplwiki. I've put the MediaWiki files in the web folder (I'm using the WinSCP to access the folders), so I should be able to access and finish the installation by going to this url, right?
But when I do so, I receive a downloaded file with this content:
This is the main web entry point for MediaWiki.
*
* If you are reading this in your web browser, your server is probably
* not configured correctly to run PHP applications!
I've checked the PHP version with the IT service, and the version is 5.3.3-7, which should be enough for the latest MediaWiki version.
Can you guys help me? Thanks!
The issue I had was that apache2
did not have a PHP module enabled.
These are the steps I took to diagnose and fix my issue:
Check that you have PHP: php -v
Check if you have a PHP module enabled in apache: apachectl -M
If you don't have a PHP module, install one for your PHP version: apt-get install libapache2-mod-phpX.X
Reload: service apache2 reload
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With