PHP 4.0 Bug #7449: CGI Error when a php script isn't under c:\inetpub\wwwroot

From: Date: Wed, 25 Oct 2000 12:12:31 +0000
Subject: PHP 4.0 Bug #7449: CGI Error when a php script isn't under c:\inetpub\wwwroot
Groups: php.dev 
Request: Send a blank email to php-dev+get-35918@lists.php.net to get a copy of this message
From: iam@asafus.com Operating system: Windows 2000 PHP version: 4.0.3pl1 PHP Bug Type: IIS related Bug description: CGI Error when a php script isn't under c:\inetpub\wwwroot This issue has occured on a web server with various web sites on it, using host headers on the same IP address. The default web site is on c:\inetpub\wwwroot, but another site is on c:\inetpub\sitename.com. When I set up php.ini for doc_root = c:\inetpub\wwwroot, only the default web site returned results to the browser. The other site gave an error message: --- error start --- CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: --- error end --- I tried changing the doc_root to c:\inetpub, but then both sites gave the error message. When I changed doc_root to c:\inetpub\sitename.com, PHP scripts could only be run on that site & the default web site returned the CGI error. -- end bug report -- -- start my advice -- I think there should be an ability to specify more than one doc_root in php.ini. -- end my advice -- Hope this helps, Asafus Flavius :-) http://www.asafus.com -- Edit Bug report at: http://bugs.php.net/?id=7449&edit=1

« previous php.dev (#35918) next »