#23603 [NEW]: php install problem on IIS:path_info ISAPI and CGI

From: Date: Tue, 13 May 2003 12:08:13 +0000
Subject: #23603 [NEW]: php install problem on IIS:path_info ISAPI and CGI
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39516@lists.php.net to get a copy of this message
From:             chedong at hotmail dot com
Operating system: WINDOWS 2000
PHP version:      4.3.1
PHP Bug Type:     IIS related
Bug description:  php install problem on IIS:path_info  ISAPI and CGI

test.php:
<?
php phpinfo();
?>


according to:
http://support.microsoft.com/default.aspx?scid=kb;en-us;q184320

I enabled IIS's path_info support via:
c:\inetpub\AdminScripts\adsutil set w3svc/AllowPathInfoForScriptMappings
True
c:\inetpub\AdminScripts\adsutil set w3svc/1/AllowPathInfoForScriptMappings
True

1 Install php 4.3.1 with installer.exe

http://localhost/test.php ok
http://localhost/test.php/path returned with 
 
CGI Error
The specified CGI application misbehaved by not returning a complete set
of HTTP headers. The headers it did return are:

same with php 4.2.3 with installer.exe

2 I also tried with 4.2.3 4.0.6 with ISAPI mode and all failed:
In ISAPI installation according to notes on:
http://ariadne.muze.nl/en/download/install
(ariadne is a path_info base php Content Manage System.)
but path_into parsed and shows:
Warning: Failed opening 'c:\inetpub\wwwroot\path' for inclusion
(include_path='') in Unknown on line 0

if patched with:
ftp://ftp.muze.nl/pub/ariadne/win/iis/php-4.0.6/php4isapi.dll
the return error with:
PHP has encountered an Access Violation at 77FCB5BF
and couse IIS crashed.

3 I tried php 4.3.1 with:
cgi.fix_pathinfo=0
in php.ini
seem it only work with acWeb 3.0 not IIS 5.0
http://php430.eserv.ru/php_info.php/path/info

Regards

Che, Dong
http://www.chedong.com



-- 
Edit bug report at http://bugs.php.net/?id=23603&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=23603&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=23603&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=23603&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=23603&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=23603&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=23603&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=23603&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=23603&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=23603&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=23603&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23603&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=23603&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=23603&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=23603&r=gnused



Thread (7 messages)

« previous php.bugs (#39516) next »