Bug #12358 Updated: CGI Error-CGI application misbehaved
| From: | renghen at servihoo dot com | Date: | Tue, 25 Jun 2002 07:55:17 +0000 |
| Subject: | Bug #12358 Updated: CGI Error-CGI application misbehaved | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-12014@lists.php.net to get a copy of this message | ||
ID: 12358
Updated by: renghen@servihoo.com
Reported By: suresh_inbox@rediffmail.com
Status: Closed
Bug Type: PWS related
Operating System: windows 98
PHP Version: 4.0.6
New Comment:
set cgi.force_redirect=0 in your php.ini
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2001-07-25 05:58:53] suresh_inbox@rediffmail.com
I has installed php4.0 from www.php.net.My os is windows 98 and i am
using PWS.when I run any php program in browser I am getting the
following error
CGI Error
The specified CGI application misbehaved by not returning a complete
set of HTTP headers. The headers it did return are:
whn I run php.exe in dos prompt I am getting the html file
correctly.While running in the browser,I am getting the above error.
Any body please help me
My email id is suresh_inbox@rediffmail.com
bye
suresh
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=12358&edit=1