#12358 [Com]: CGI Error-CGI application misbehaved

From: Date: Fri, 04 Apr 2003 00:38:20 +0000
Subject: #12358 [Com]: CGI Error-CGI application misbehaved
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37101@lists.php.net to get a copy of this message
ID: 12358 Comment by: baje14 at eudoramail dot com Reported By: suresh_inbox at rediffmail dot com Status: Closed Bug Type: PWS related Operating System: windows 98 PHP Version: 4.0.6 New Comment: i also have the same problem please please please help us! Previous Comments: ------------------------------------------------------------------------ [2003-01-20 08:49:01] parryk at croner dot co dot uk it's a bit late now, but maybe someone else will come look for answers here... The CGI error can be solved by opening PWS, clicking on the Advanced button, and adding the folder where your scripts reside to the vitual directories tree (don't forget to enable the execute option by ticking the box). ------------------------------------------------------------------------ [2003-01-13 20:00:58] martinbudden at hotmail dot com I'm getting the same problem. It's not about setting cgi.force_redirect=0 in php.ini, that was for a different problem and that one is now fixed. So what is causing this error? Any help greatly appreciated! CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: ------------------------------------------------------------------------ [2002-06-25 03:55:17] renghen at servihoo dot com set cgi.force_redirect=0 in your php.ini ------------------------------------------------------------------------ [2001-08-20 12:04:57] sniper@php.net no feedback. ------------------------------------------------------------------------ [2001-07-25 06:30:11] cynic@php.net provide a short example script, and it's output when run from the command line. save this as test.php: <?php echo "hello world!\n" ?> and see what you get. it should be st. like this: c:\temp>php test.php X-Powered-By: PHP/4.0.7-dev Content-type: text/html hello world! c:\temp> If that's ok (i. e. the first three lines are the same as shown above, I suggest you turn on logging errors in php.ini, request a PHP script thru PWS, and check the error log. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/12358 -- Edit this bug report at http://bugs.php.net/?id=12358&edit=1

« previous php.bugs (#37101) next »