Re: [PHP] cgi error --- please help

2004-01-28 Thread Len Borowski
I recently had this error. Turns out that my php binary was the
CLI(command line interface only) version, not the cgi version and so it
wasn't sending the headers before parsing the php file.  You should look
at getting the right php binary.

Also, if you have a question, you don't make 2 seperate posts asking the
same question.

-Len



On Wed, 2004-01-28 at 15:17, Dale Hersh wrote:
 CGI Error
 The specified CGI application misbehaved by not returning a complete set of
 HTTP headers.
 
 I am getting this error and I can't figure out what is causing the problem.
 If I hit refresh on the broswer, the page loads just fine. Any ideas???
 
 Thanks,
 Dale
 
 RUNNING IIS 6.0  MSSQL 2000

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] cgi error --- please help

2004-01-28 Thread Gryffyn, Trevor
Odd that it would work after you hit REFRESH, though.  If it was the CLI
version, wouldn't youg et the bad headers error every time you refreshed
the browser?

Could always try manually initiating the headers using the header()
command.  That may be your own course of action if, for some reason, you
don't have access to the web server and the installation of PHP there to
upgrade it to the proper version..  Or if you just can't figure out why
it's giving you this error, header() might be a workaround.

-TG


 -Original Message-
 From: Len Borowski [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, January 28, 2004 4:52 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [PHP] cgi error --- please help
 
 
 I recently had this error. Turns out that my php binary was the
 CLI(command line interface only) version, not the cgi version 
 and so it
 wasn't sending the headers before parsing the php file.  You 
 should look
 at getting the right php binary.
 
 Also, if you have a question, you don't make 2 seperate posts 
 asking the
 same question.
 
 -Len
 
 
 
 On Wed, 2004-01-28 at 15:17, Dale Hersh wrote:
  CGI Error
  The specified CGI application misbehaved by not returning a 
 complete set of
  HTTP headers.
  
  I am getting this error and I can't figure out what is 
 causing the problem.
  If I hit refresh on the broswer, the page loads just fine. 
 Any ideas???
  
  Thanks,
  Dale
  
  RUNNING IIS 6.0  MSSQL 2000
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php