#21716 [Bgs->Opn]: 4.3.0 don't pass PATH_INFO env.variable to script (php in CGI mode)
| From: | andrey at cherezov dot koenig dot su | Date: | Sat, 18 Jan 2003 12:40:07 +0000 |
| Subject: | #21716 [Bgs->Opn]: 4.3.0 don't pass PATH_INFO env.variable to script (php in CGI mode) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30458@lists.php.net to get a copy of this message | ||
ID: 21716
User updated by: andrey@cherezov.koenig.su
Reported By: andrey@cherezov.koenig.su
-Status: Bogus
+Status: Open
Bug Type: *Web Server problem
-Operating System: WIndows 2000
+Operating System: Win32
PHP Version: 4.3.0
New Comment:
That topic not solved this bug!! PHP 4.3.0 in CGI mode (php.exe) under
Win32 NEVER shows PATH_INFO to script. Even if web-server have passed
it according CGI-specs, like http://host/script.php/path/info. Just try
- you'll unable to get PATH_INFO from 4.3.0.
shane@caraveo.com wrote:
>For 4.3, cgi variables were changed to correctly conform to
>cgi specs. This means that
>PATH_INFO is now in fact PATH_INFO as per:
>http://hostname/script_name.php/path/info?query_string
You may try this URL url on Win32 web-server with PHP 4.3.0 as CGI and
YOU WILL SEE - for this URL PHP will not show PATH_INFO variable,
passed to it by web-server! Web-server pass PATH_INFO=/path/info (for
this URL), but PhpInfo() in PHP 4.3.0 will NOT show PATH_INFO in the
list! All old 4.2.x versions works OK with this case, and previous
4.3.0-dev too, but in 4.3.0 just drop PATH_INFO in any case. This is
definitely 4.3.0 BUG.
Previous Comments:
------------------------------------------------------------------------
[2003-01-17 19:53:58] sniper@php.net
See bug: http://bugs.php.net/bug.php?id=21575
And next time, SEARCH the bug database FIRST.
------------------------------------------------------------------------
[2003-01-17 17:19:13] andrey@cherezov.koenig.su
4.3.0 don't pass PATH_INFO env.variable to script (php in CGI mode
under Windows 2000). 4.2.3, 4.2.2 and all previous work with PATH_INFO
without problems.
Also 4.3.0 changes SCRIPT_NAME so script receives not the same string
as passed by WebServer! Also 4.2.x not have this problem.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21716&edit=1