I have PHP 4.0.4pl1 installed on an NT4 (SP6) Server
running IIS 4.0.
Executing PHP scripts in a directory under www_root
works fine.
When the simplest helloworld script is executed on
a virtual directory, I get
"The specified CGI application misbehaved by not returning a complete set of HTTP
headers. The headers it did return are:"
I've tried telnetting to the server and getting the file
to see what headers are returned:
HTTP/1.1 502 Gateway Error
Server: Microsoft-IIS/4.0
Date: Fri, 23 Feb 2001 18:10:22 GMT
Content-Length: 215
Content-Type: text/html
<head><title>Error in CGI Application</title></head>
<body><h1>CGI Error</h1>The specified CGI application misbehaved by not
returning a complete set of HTTP headers. The headers it did return
are:<p><p><pre></pre>Connection closed by foreign host.
I've seen a couple of references to this problem on
php.net, but no solutions. Any ideas? Thanks.
Kevin Johnson