Re: PHP 4.0.4pl1 ISAPI/CGI, IIS 5.0 ...

From: Date: Tue, 08 May 2001 08:05:46 +0000
Subject: Re: PHP 4.0.4pl1 ISAPI/CGI, IIS 5.0 ...
Groups: php.windows 
Request: Send a blank email to php-windows+get-7346@lists.php.net to get a copy of this message
>"CGI Error >The specified CGI application misbehaved by not returning a complete set of >HTTP headers. The headers it did return are:" (and nothing else) This is the error message that IIS spits out if it tried to run a cgi program and no output was produced. It occurs normally when php cannot run for some reason (misconfiguration, permissions, script didn't exist) etc. In the internet services manager if you tick the 'check if file exists' button you can at least cause the missing script file error to return a 404 instead, and get iis to do authentication for you if file permissions on the script file are set higher than the anonymous IIS user. I use the cgi version of php all the time and I never set doc_root to anything - it always works ok for me. I think that the %s %s stuff is a throwback to an earlier version of php and is definitely not required any more. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org

« previous php.windows (#7346) next »