| Bug #23603 | php install problem on IIS:path_info ISAPI and CGI | ||||
|---|---|---|---|---|---|
| Submitted: | 13 May 2003 7:08am UTC | Modified: | 14 May 2003 2:38am UTC | ||
| From: | chedong at hotmail dot com | Assigned to: | |||
| Status: | Closed | Category: | IIS related | ||
| Version: | 4.3.1 | OS: | WINDOWS 2000 | ||
| Votes: | 1 | Avg. Score: | 5.0 ± 0.0 | Reproduced: | 0 of 0 (0.0%) |
[13 May 2003 7:08am UTC] chedong at hotmail dot com
[13 May 2003 8:42am UTC] chedong at hotmail dot com
additional on Ariadne patch: the Ariadne patch only work with php 4.2.3 Win32 and need AllowPathInfoForScriptMappings False 4.3.1 not work even with Ariadne patch: ftp://ftp.muze.nl/pub/ariadne/win/iis/php-4.3.1/
[13 May 2003 9:00am UTC] chedong at hotmail dot com
in php 4.2.3 isapi mode the path_info convert to real path: if my iis doc root at: C:\CheDong\Downloads\ariadne\www\ the http://localhost/test.php/path will return with Warning: Unknown(C:\CheDong\Downloads\ariadne\www\test.php\path): failed to create stream: No such file or directory in Unknown on line 0 Warning: Unknown(): Failed opening 'C:\CheDong\Downloads\ariadne\www\test.php\path' for inclusion (include_path='.;c:\php4\pear') in Unknown on line 0 patched with ftp://ftp.muze.nl/pub/ariadne/win/iis/php-4.2.3/php4isapi.dll the phpinfo returns with PATH_INFO /test.php/path _SERVER["PATH_INFO"] /path
[13 May 2003 4:29pm UTC] sniper@php.net
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip IIRC, this is fixed..
[13 May 2003 9:11pm UTC] chedong at hotmail dot com
I tried PHP Version 4.3.2-RC3-dev with ISAPI mode, the http://localhost/test.php/path still return with: Warning: Unknown(C:\CheDong\Downloads\ariadne\www\test.php\path): failed to open stream: No such file or directory in Unknown on line 0 Warning: (null)(): Failed opening 'C:\CheDong\Downloads\ariadne\www\test.php\path' for inclusion (include_path='.;c:\php4\pear') in Unknown on line 0 but on Linux the test.php/path/ will return with: _SERVER["PATH_INFO"] /path could it be passed like Ariadne patch? Regards Che, Dong http://www.chedong.com
[14 May 2003 1:21am UTC] chedong at hotmail dot com
I tried PHP Version 4.3.2-RC3-dev-Win32 with CGI/FastCGI mode by added line cgi.force_redirect = 0 in php.ini the http://localhost/test.php/path return ok now. Thanks Che, Dong http://www.chedong.com
[14 May 2003 2:38am UTC] magnus@php.net
Closed then since it was fixed..
