|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12893 Cgi error with Virtual directory
Submitted: 2001-08-22 09:18 UTC Modified: 2002-06-03 12:16 UTC
From: aabamber at suomi24 dot fi Assigned:
Status: Not a bug Package: IIS related
PHP Version: 4.0.6 OS: Winnt server 4.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: aabamber at suomi24 dot fi
New email:
PHP Version: OS:


 [2001-08-22 09:18 UTC] aabamber at suomi24 dot fi
I have IIS 4.0 with home directory c:\inetpub\wwwroot. I have also defined a virtual directory in other local drive where my php scripts are.
when I run php script in virtual directory.
I receive: CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
The headers it did return are:

I am using PHP 4.0.6
OS: Winnt 4 server running IIS4 as a web server

running an asp or cgi-exe in the same virtual directory works fine. 
running php script from home directory of web server works fine too.

In earlier version of PHP 4.0.4pl1 php scripts in virtual directory works fine.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-03 12:16 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Mar 31 03:03:40 2023 UTC