php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25271 CGI Error
Submitted: 2003-08-27 07:28 UTC Modified: 2003-08-28 10:04 UTC
From: ddavis at realontario dot ca Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 4.3.3 OS: Win 2000 sp2, sp3, sp4
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ddavis at realontario dot ca
New email:
PHP Version: OS:

 

 [2003-08-27 07:28 UTC] ddavis at realontario dot ca
Description:
------------
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

I know that this has been posted many times, but I have been search for many days, and I have not found a solutions.

I am running win2000, IIS 5.0 , PHP as CGI and I keep getting this ERROR.
It is happening at random times.  

When I run php -i, it works ALL the time.
I have the correct security rights on all of the files/folders. I have followed the install.txt file.

When i use the function " header("location: $loc"); "
It will generate the CGI Error ... at random times








Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-27 11:33 UTC] sniper@php.net
If you used the 'installer' version, get an updated version of it from www.php.net. If you didn't, you're just doing something wrong since this works just fine for me.

 [2003-08-28 07:18 UTC] ddavis at realontario dot ca
Sniper,

Yes, I did use the current PHP installer.
The CGI Error has occured on 2(two) different Servers.
It happens on pages that use the 
  Header("location: ####") function.
 [2003-08-28 10:04 UTC] sniper@php.net
If you didn't download the installer today, it's too old and broken one.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 02:01:38 2025 UTC