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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T10832, the corresponding Phabricator task for complete and up-to-date bug report information.
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