PHP 4.0 Bug #9428: CGI error when executing php script in a virtual directory
| From: | kevin at ig dot utexas dot edu | Date: | Fri, 23 Feb 2001 18:17:53 +0000 |
| Subject: | PHP 4.0 Bug #9428: CGI error when executing php script in a virtual directory | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47356@lists.php.net to get a copy of this message | ||
From: kevin@ig.utexas.edu
Operating system: NT4 SP6
PHP version: 4.0.4pl1
PHP Bug Type: IIS related
Bug description: CGI error when executing php script in a virtual directory
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
--
Edit Bug report at: http://bugs.php.net/?id=9428&edit=1