Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 12th, 2003, 06:19 AM
Registered User
 
Join Date: Jul 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default PHP install: CGI app misbehaved - no headers

I am trying to get PHP installed with Win98 and PWS4.0

Initially I got some error message about re-directs. I've fixed that by allowing them in the php.ini file, but now I get

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

What should I do - I've no idea! Any ideas thankfully received

Reply With Quote
  #2 (permalink)  
Old July 13th, 2003, 05:39 AM
Registered User
 
Join Date: Jul 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK - problem solved. Sort of. I discovered that I had accidentally installed PHP twice. Once on C:\PHP and once on D:\PHP. When I deleted the D installation, which it shouldn't have been using, I got an different error message. So I deleted both installations and re-installed a new one at C:\PHP. The error message changed again, but it still didn't work. Then I restored both C and D installations and for some unknown reason, it started working. As I just want to test PHP scripts for deployment elsewhere, I'm now happy, but I really don't know what the problem was. I guess it was some kind of conflict between the two installations (but they're still both there). I would investigate further, but I'm scared of breaking it and not being able to get it back.

Reply With Quote
  #3 (permalink)  
Old July 14th, 2003, 12:07 AM
Friend of Wrox
Points: 2,570, Level: 21
Points: 2,570, Level: 21 Points: 2,570, Level: 21 Points: 2,570, Level: 21
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: San Diego, CA, USA
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, you should only have it installed one place. Just make sure everything that needs PHP knows where to look for it. Typically, this is just your webserver(s).

If you are still having problems, please be more specific about the errors you're getting.

Take care,

Nik
http://www.bigaction.org/
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with PHP Headers JWinkler05 Beginning PHP 1 April 21st, 2008 12:23 PM
Help With PHP Headers!! majingohan Beginning PHP 1 April 17th, 2005 04:16 AM
PHP5 and php.exe php-cgi.exe php-win.exe freddo Beginning PHP 1 August 16th, 2004 09:28 AM
The specified CGI application misbehaved by not re rmccon BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 June 22nd, 2003 12:50 AM
Call and run CGI script from a PHP script ... how? dbruins BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 June 10th, 2003 03:09 PM



All times are GMT -4. The time now is 02:30 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.