ID: 42699
Updated by: [EMAIL PROTECTED]
Reported By: vvv at colocall dot net
-Status: Open
+Status: Assigned
Bug Type: CGI related
Operating System: FreeBSD 6.2, apache 2.2.6
PHP Version: 5.2CVS-2007-09-18
Assigned To: dmitry
New Comment:
Dmitry, use --disable-path-info-check and you'll get the problem.
Previous Comments:
[2007-09-24 08:14:33] vvv at colocall dot net
I've just reproduce it with the snapshot
http://snaps.php.net/php5.2-200709240630.tar.bz2
FreeBSD 6.2-RELEASE-p1
'./configure' '--with-layout=GNU'
'--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all'
'--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection'
'--program-prefix=' '--disable-path-info-check' '--with-regex=php'
'--with-zend-vm=CALL' '--disable-ipv6' '--prefix=/usr/local'
'--mandir=/usr/local/man' '--infodir=/usr/local/info/'
[2007-09-21 14:35:13] [EMAIL PROTECTED]
I cannot reproduce it:
Linux 2.6.22, glibc 2.6
'../configure' '--prefix=/home/dmitry/php/usr/php5.2-debug'
'--with-config-file-path=/home/dmitry/php/usr/php5.2-debug/etc'
'--enable-force-cgi-redirect' '--enable-fastcgi' '--enable-pic'
'--enable-debug' '--enable-memory-limit' '--disable-rpath'
'--with-regex=php' '--with-zlib' '--with-layout=GNU'
'--enable-magic-quotes' '--enable-track-vars'
'--disable-path-info-check'
Request to http://127.0.0.1/test/phpinfo.php gives _SERVER["PHP_SELF"]
== "/test/phpinfo.php".
[2007-09-19 11:43:48] vvv at colocall dot net
The problem has gone after recompiling without
--disable-path-info-check.
FreeBSD port applies this option by default.
[2007-09-19 02:01:33] w dot ashcroft at redfoxuk dot com
I noticed the bug fix for #42523 was a specific workaround for when the
server software CGI variable was set as Microsoft-IIS; so clearly the
"hack" fix for #42523 needs to be done properly if it doesn't fix the
problem completely.
[2007-09-18 12:23:33] [EMAIL PROTECTED]
Dmitry, can you check this out please.
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/42699
--
Edit this bug report at http://bugs.php.net/?id=42699&edit=1