ID: 42523
Comment by: christoffer dot cena at braathe dot no
Reported By: tkeese at yahoo dot com
Status: Open
Bug Type: CGI related
Operating System: WinXP/IIS 5.1
PHP Version: 5.2.4
New Comment:
I can confirm this error on Windows Server 2003 using PHP 5.2.4 as CGI
with IIS 6. Running phpinfo() in a file called /info.php shows that the
PHP_SELF variable contains "/info.php/info.php.
Previous Comments:
------------------------------------------------------------------------
[2007-09-04 03:37:46] w dot ashcroft at redfox dot uk
(I mean this bug does not happen using ISAPI, only CGI)
------------------------------------------------------------------------
[2007-09-04 03:37:09] w dot ashcroft at redfoxuk dot com
...does not happen using ISAPI.
------------------------------------------------------------------------
[2007-09-03 17:53:39] w dot ashcroft at redfoxuk dot com
...on another note DOCUMENT_ROOT is now being set correctly, it always
used to be empty.
------------------------------------------------------------------------
[2007-09-03 17:49:30] w dot ashcroft at redfoxuk dot com
Looks like these bugfixes may have broken it:
http://bugs.php.net/bug.php?id=31892http://bugs.php.net/bug.php?id=42198
------------------------------------------------------------------------
[2007-09-03 17:44:31] tkeese at yahoo dot com
I am using the default CGI configuration from the Win32 installer.
cgi.check_shebang_line 1 1
cgi.fix_pathinfo 0 0
cgi.force_redirect 0 0
cgi.nph 0 0
cgi.redirect_status_env no value no value
cgi.rfc2616_headers 0 0
fastcgi.impersonate 0 0
fastcgi.logging 1 1
From phpinfo() output (5.2.4):
_SERVER["PHP_SELF"] /baseapp/test/p.php/baseapp/test/p.php
From phpinfo() output (5.2.3) using same configuration as above:
_SERVER["PHP_SELF"] /baseapp/test/p.php
------------------------------------------------------------------------
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/42523--
Edit this bug report at http://bugs.php.net/?id=42523&edit=1