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
eektech909
Forum Commoner
Posts: 34 Joined: Fri Jun 09, 2006 3:59 pm
Post
by eektech909 » Fri Jun 09, 2006 4:04 pm
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?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Fri Jun 09, 2006 4:07 pm
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 » Fri Jun 09, 2006 4:34 pm
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
RobertGonzalez
Site Administrator
Posts: 14293 Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA
Post
by RobertGonzalez » Fri Jun 09, 2006 5:04 pm
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?
eektech909
Forum Commoner
Posts: 34 Joined: Fri Jun 09, 2006 3:59 pm
Post
by eektech909 » Mon Jun 12, 2006 12:40 am
I still receive the same error with the phptest(); code
os - windows server 2003
http - iis web server
php - 5
please help..thanks!
RobertGonzalez
Site Administrator
Posts: 14293 Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA
Post
by RobertGonzalez » Mon Jun 12, 2006 2:07 am
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).