Last modified: 2010-05-15 15:38:32 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 2201 - configuration wizard misdetects path under php-cgi
configuration wizard misdetects path under php-cgi
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
PC Linux
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-05-18 21:09 UTC by Jeremy Hanmer
Modified: 2010-05-15 15:38 UTC (History)
0 users

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

patch to use PHP_SELF instead of SCRIPT_NAME (710 bytes, patch)
2005-05-18 21:11 UTC, Jeremy Hanmer

Description Jeremy Hanmer 2005-05-18 21:09:46 UTC
SCRIPT_NAME is unfortunately set to the php binary's name when running under php-cgi mode.  PHP_SELF, however always returns the name of the script and 
seems to work under both php-cgi and apache-mode php.  Patch is attached.
Comment 1 Jeremy Hanmer 2005-05-18 21:11:03 UTC
Created attachment 558 [details]
patch to use PHP_SELF instead of SCRIPT_NAME

patch to use PHP_SELF instead of SCRIPT_NAME
Comment 2 Anders Wegge Jakobsen 2005-05-29 11:24:58 UTC
Seems fixed in the current CVS HEAD.

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