Page MenuHomePhabricator

configuration wizard misdetects path under php-cgi
Closed, ResolvedPublic

Description

Author: jeremy

Description:
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.


Version: 1.5.x
Severity: normal
OS: Linux
Platform: PC

Details

Reference
bz2201

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 8:27 PM
bzimport set Reference to bz2201.
bzimport added a subscriber: Unknown Object (MLST).

jeremy wrote:

patch to use PHP_SELF instead of SCRIPT_NAME

patch to use PHP_SELF instead of SCRIPT_NAME

Attached:

wegge wrote:

Seems fixed in the current CVS HEAD.