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!
There are a few possible causes...
Check the PHP and Apache error files. The fact that you are seeing the message showing up would tend to indicate to me that it could even be an issue with running PHP from your account with the shared hosting. As a test try uploading a file and add to it something simple like
<?php
echo("PHP Works");
?>
By doing this test you will be able to confirm if the issue is a configuration error preventing PHP from working at all, or if there is some permission error which is preventing certain required includes from being accessed. If the test file works then check the PHP error log, if it doesn't then chances are PHP won't have any errors and you will need to have IT services check the configuration and confirm that PHP is supported on your specific account.