#23603 [Opn->Csd]: php install problem on IIS:path_info ISAPI and CGI

From: Date: Wed, 14 May 2003 07:38:10 +0000
Subject: #23603 [Opn->Csd]: php install problem on IIS:path_info ISAPI and CGI
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39609@lists.php.net to get a copy of this message
 ID:               23603
 Updated by:       magnus@php.net
 Reported By:      chedong at hotmail dot com
-Status:           Open
+Status:           Closed
 Bug Type:         IIS related
 Operating System: WINDOWS 2000
 PHP Version:      4.3.1
 New Comment:

Closed then since it was fixed.. 


Previous Comments:
------------------------------------------------------------------------

[2003-05-14 01:21:36] 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

------------------------------------------------------------------------

[2003-05-13 21:11:02] 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

------------------------------------------------------------------------

[2003-05-13 16:29:20] 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..


------------------------------------------------------------------------

[2003-05-13 09:00:37] 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

------------------------------------------------------------------------

[2003-05-13 08:42:30] 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/

------------------------------------------------------------------------

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/23603

-- 
Edit this bug report at http://bugs.php.net/?id=23603&edit=1



Thread (7 messages)

« previous php.bugs (#39609) next »