Last modified: 2007-01-30 19:33:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 8832 - Use .php5 extensions
Use .php5 extensions
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-30 18:58 UTC by Andrew Wyer
Modified: 2007-01-30 19:33 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Andrew Wyer 2007-01-30 18:58:18 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.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-01-30 19:07:07 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links