php and iis

Reply

Join Date: Mar 2004
Posts: 763
Reputation: Phaelax is on a distinguished road 
Solved Threads: 38
Phaelax Phaelax is offline Offline
Master Poster

php and iis

 
0
  #1
Mar 27th, 2005
I installed php (4 i think) and added the extension to iis. When I try to view a php file through the web browser, I get the following error:
CGI Error

The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
Since I got an error and not just the php file's text, I assume the server extension was installed correctly. The php file I used does work when I simply connect to localhost which uses apache I believe. (installed from phpdev5)
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 5
Reputation: AnDurugkar is an unknown quantity at this point 
Solved Threads: 0
AnDurugkar AnDurugkar is offline Offline
Newbie Poster

Re: php and iis

 
0
  #2
Apr 1st, 2009
check if this works
This error happens when you do syntax error in the code of the command
  1. header("Location:$redirectto")
, i.e. used to redirect to the location
Last edited by AnDurugkar; Apr 1st, 2009 at 8:01 am.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 3,746
Reputation: nav33n is a jewel in the rough nav33n is a jewel in the rough nav33n is a jewel in the rough 
Solved Threads: 331
Moderator
Featured Poster
nav33n's Avatar
nav33n nav33n is offline Offline
Senior Poster

Re: php and iis

 
0
  #3
Apr 1st, 2009
Originally Posted by AnDurugkar View Post
check if this works
This error happens when you do syntax error in the code of the command
  1. header("Location:$redirectto")
, i.e. used to redirect to the location
Stop reviving old dead threads for god's sake!
Ignorance is definitely not bliss!

*PM asking for help will be ignored*
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 5
Reputation: AnDurugkar is an unknown quantity at this point 
Solved Threads: 0
AnDurugkar AnDurugkar is offline Offline
Newbie Poster

Re: php and iis

 
0
  #4
Apr 1st, 2009
Originally Posted by nav33n View Post
Stop reviving old dead threads for god's sake!
Hello Mr I am a developer
I have put this info because when somebody gets such error he should know every possibility whenever he searches for it, these threads are always usefull while coding for all time so in my opinion this is not dead and i don't write that you will say thanks or abuse it.
do u understand.
just don't show that u r somebody ok.
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 1,452
Reputation: cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about 
Solved Threads: 135
cwarn23's Avatar
cwarn23 cwarn23 is offline Offline
Nearly a Posting Virtuoso

Re: php and iis

 
0
  #5
Apr 1st, 2009
Originally Posted by AnDurugkar View Post
Hello Mr I am a developer
I have put this info because when somebody gets such error he should know every possibility whenever he searches for it, these threads are always usefull while coding for all time so in my opinion this is not dead and i don't write that you will say thanks or abuse it.
do u understand.
just don't show that u r somebody ok.
Although in theory that may sound good and all but from experience as a daniweb user, I find that replies to threads older than a year since started seems to effect the priority system of which threads are ordered in the forums. Because if everybody replies to the threads 3 years old then the threads a few months old will be removed from the forums first since the older onces were bumped up the list. Pitty there isn't any rule for the maximum age of a thread you can reply to unless your the creator of the thread. But I guess it's a thing we will need to live with since there are so many new users.
Try not to bump 10 year old threads as it can be really annoying.
Like php then read my website at http://syntax.cwarn23.net/
Star-Trek-Atlantis - now that's what I call a movie ^_^
My favourite PC. - MacGyver Fan
Bad english note: dis-iz-2b4u
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 3,746
Reputation: nav33n is a jewel in the rough nav33n is a jewel in the rough nav33n is a jewel in the rough 
Solved Threads: 331
Moderator
Featured Poster
nav33n's Avatar
nav33n nav33n is offline Offline
Senior Poster

Re: php and iis

 
0
  #6
Apr 1st, 2009
Originally Posted by AnDurugkar View Post
Hello Mr I am a developer
I have put this info because when somebody gets such error he should know every possibility whenever he searches for it, these threads are always usefull while coding for all time so in my opinion this is not dead and i don't write that you will say thanks or abuse it.
First of all, breathe (or you will run out of breathe). I agree, If someone searches for this particular question, he will eventually get here. But I don't find your answer relevant to the question. That answer doesn't make any sense either.
do u understand.
No. Unfortunately, I didn't understand a word you said.
just don't show that u r somebody ok.
Huh! What does that even mean Mr. Developer ?
Ignorance is definitely not bliss!

*PM asking for help will be ignored*
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 5
Reputation: AnDurugkar is an unknown quantity at this point 
Solved Threads: 0
AnDurugkar AnDurugkar is offline Offline
Newbie Poster

Re: php and iis

 
0
  #7
Apr 2nd, 2009
Originally Posted by nav33n View Post
First of all, breathe (or you will run out of breathe). I agree, If someone searches for this particular question, he will eventually get here. But I don't find your answer relevant to the question. That answer doesn't make any sense either.



No. Unfortunately, I didn't understand a word you said.

Huh! What does that even mean Mr. Developer ?
I have encountered this error , i searched the web i didn't found the answer relevant even here, then i solved the problem my self , and i posted this that this may be a cause.

I thing u r stretching this thread now. unnecessarly posting two times as an answer. I said developer because i want to show how this solution matters to me

I don't want to waste my time after this.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 3,746
Reputation: nav33n is a jewel in the rough nav33n is a jewel in the rough nav33n is a jewel in the rough 
Solved Threads: 331
Moderator
Featured Poster
nav33n's Avatar
nav33n nav33n is offline Offline
Senior Poster

Re: php and iis

 
0
  #8
Apr 2nd, 2009
Originally Posted by AnDurugkar View Post
I thing u r stretching this thread now. unnecessarly posting two times as an answer. I said developer because i want to show how this solution matters to me
Posting as an answer ? Did I ever mention those replies were "answers" ? I have no reason to stretch this thread. Its you who is bumping a 3 year old thread with unwanted replies (which is no way related to the question posted).
I don't want to waste my time after this.
I am happy that you are a quick learner.

Edit: I also wonder if header is the panacea for every CGI problem. Hmm..
Last edited by nav33n; Apr 2nd, 2009 at 2:08 am.
Ignorance is definitely not bliss!

*PM asking for help will be ignored*
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC