Last modified: 2007-01-30 19:33:45 UTC
I have tried uploading and installing 1.9.1 on a namesco.com server. Namesco run PHP4 and PHP5. The first time I ran MediaWiki
install a message came back saying the server has to have PHP 5.
I got an 'off the shelf' hosting package. I wonder if other companies offering hosting packages will have the same problem?
Unless the file extensions are .php5 the Namesco server will use PHP 4.
I changed all the file extensions to .php5 but quickly realised I would have to go all through the code where one file makes
reference to another.
Typically you only need to change the file extensions for entry points, which would probably be all
PHP files in the installation directory but not any subfolders. Once the webserver is executing the
entry point as PHP 5, any includes will be requested by the PHP 5 module and consequently should be
run as PHP 5 too.
Maybe we should make a list of all entry points and give a little script to change the extension to
whatever you want. Then we should change the helpful "you aren't using PHP 5" message to note that
they may have to use it if their server needs it.