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

From: Date: Wed, 28 Jan 2004 23:04:09 +0000
Subject: RE: [PHP] cgi error --- please help
Groups: php.general 
Request: Send a blank email to php-general+get-176140@lists.php.net to get a copy of this message
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:lborowsk@tsl.state.tx.us] > Sent: Wednesday, January 28, 2004 4:52 PM > To: php-general@lists.php.net > 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 > >

« previous php.general (#176140) next »