Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 12th, 2003, 06:19 AM
Registered User
 
Join Date: Jul 2003
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

 
Old July 13th, 2003, 05:39 AM
Registered User
 
Join Date: Jul 2003
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.

 
Old July 14th, 2003, 12:07 AM
Friend of Wrox
 
Join Date: Jun 2003
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/





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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.