Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New to PHP

Status
Not open for further replies.

hiatus

Programmer
Apr 10, 2001
6
US
Hi,
I am a web developer just beginning with PHP...I installed PHP on my Win 2000 server using the installshield installer. then I renamed a html page to php and tried running it...but it gives me the error;

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

Could someone please tell me what this means do i have to do some additional configuration on the serverfor interpreting php files.
 
Are you running IIS?
Have you given script access to the dir containing your .php?
Are you running php as an executable or ISAPI filter?

I too had some trouble getting IIS to properly use a php ISAPI filter. Finally I put php4isapi.dll in C:\WINNT\system and gave the web user account access, which seems to work.

-Rob
 
I am running IIS 5...Could u tell me how I can give the IUSR_servername user execute access on the dir having php.exe( I am running php as an executable)...The .php files are stored in the web server's root dir so it already has script access...

one more thing I want to use php on pws on my win 98 machine...will it work ???
 
hiatus

Afraid I can't comment on your execute access problem, but I've had php running on PWS/W98 without too much trouble. The installer should pick it up.

-Rob
 
I put the php4isapi.dll file in the c:\winnt\system dir but it still gives me the same error..Is there something more that I should do to make it work
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top