#22563 [Opn->Fbk]: The specified CGI application misbehaved by not returning a complete set of HTT
| From: | sniper@php.net | Date: | Thu, 06 Mar 2003 04:41:45 +0000 |
| Subject: | #22563 [Opn->Fbk]: The specified CGI application misbehaved by not returning a complete set of HTT | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34949@lists.php.net to get a copy of this message | ||
ID: 22563
Updated by: sniper@php.net
Reported By: frankielam at ucr dot com dot hk
-Status: Open
+Status: Feedback
-Bug Type: IIS related
+Bug Type: CGI related
Operating System: Windows 2000
PHP Version: 4.3.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2003-03-05 21:50:55] frankielam at ucr dot com dot hk
I find the CGI error occurs intermittently with the php script below(a
simple script that
do nothing but keeps refreshing itself with a different value of
parameter passed into it as GET, REMEMBER to open serveral instances
to
run it.)
Teh message it returns is:
"CGI Error
The specified CGI application misbehaved by not returning a complete
set of HTTP headers. The headers it did return are:"
doit.php
8<-----------------------------------------------
<?
echo "<html><head><title>testing</title>";
if (isset($_GET["times"]))
$times = ($_GET["times"]) + 1;
else
$times = 0;
//SEE??? even i comment the statement out, infamous cgi error occurs,
STILL!
//$conn = mssql_connect('127.0.0.1', 'sa', '') or
die("couldn't
connect");
echo "<meta http-equiv=\"Refresh\" content=\"0; URL=doit.php?times=" .
$times . "\"></head></html>";
echo "Trying CGI";
echo "<BR>$times";
//header("doit.php");
?>
8<-----------------------------------------------
My config.:
Windows 2000 Advanced Server with SP3
PHP 4.3.1 / 4.2.3 (both tested to have CGI problem)
P3-1G with 128MB RAM
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22563&edit=1