general load error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
eektech909
Forum Commoner
Posts: 34
Joined: Fri Jun 09, 2006 3:59 pm

general load error

Post by eektech909 »

i'm getting this error when i try to access a php page

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.


any help please?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

hard to tell you much without seeing your code.
eektech909
Forum Commoner
Posts: 34
Joined: Fri Jun 09, 2006 3:59 pm

Post by eektech909 »

i just installed php for the first time

i was just trying to see if it worked

its a very simple file that just displays and echo of hello
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

What is your OS, your HTTP server and PHP version? Is this a local install or a server install? Does the following code display anything?

Code: Select all

<?php
phpinfo();
?>
eektech909
Forum Commoner
Posts: 34
Joined: Fri Jun 09, 2006 3:59 pm

Post by eektech909 »

I still receive the same error with the phptest(); code

os - windows server 2003
http - iis web server
php - 5

please help..thanks!
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Not exactly sure about the error, but it may have something to do with how your php.ini is contacting the php executable. It believe you are going to want to use the php-cgi.exe file instead of the php.exe (or maybe vice-versa).
Post Reply