ID: 21716 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Assigned +Status: Closed Bug Type: *Web Server problem Operating System: Win32 PHP Version: 4.3.0 Assigned To: shane New Comment:
Thank you, Milky! This helps! Previous Comments: ------------------------------------------------------------------------ [2003-01-20 18:13:41] [EMAIL PROTECTED] (milky) Someone introduced a "workaround" for webservers (Apache) which hand over a wrong PATH_INFO. This behaviour however hurts all others then (Nanoweb). cgi.fix_pathinfo=0 in the php.ini seems to fix it don't know if it helps with the other CGI variables ------------------------------------------------------------------------ [2003-01-18 07:02:09] [EMAIL PROTECTED] Compare these PhpInfo() outputs: http://php430.eserv.ru/php_info.php/path/info?query http://php423.eserv.ru/php_info.php/path/info?query Same web-server, same php.ini, very different environment variables! (of course, web-server pass the same variables, but 4.3.0 damages them! ;) PATH_INFO disappears in 4.3.0 :( ------------------------------------------------------------------------ [2003-01-18 06:40:07] [EMAIL PROTECTED] 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. [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [2003-01-17 19:53:58] [EMAIL PROTECTED] See bug: http://bugs.php.net/bug.php?id=21575 And next time, SEARCH the bug database FIRST. ------------------------------------------------------------------------ [2003-01-17 17:19:13] [EMAIL PROTECTED] 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