dutcbhboy83 Posted July 29, 2008 Share Posted July 29, 2008 I'm trying to install PHP with IIS on Windows Server 2003 and my PHP seems to be configured because I can run it at the CMD and I get all the info for phpinfo() but when I add a .php file to my webfolder I get a CGI error saying "The specified CGI application misbehaved by not returning a complete set of HTTP headers". I have set up the web extensions in IIS and I have created a cgi-bin folder that is set to run php files. I'm pretty sure I have set all the permissions to allow the php but I'm not sure if I missed any folders that I'm supposed to change the permissions on. I don't understand why I am getting the error, and am I supposed to be installing something to do with CGI?? Looking at this for 2 days and can't figure anything out from the web??? Quote Link to comment https://forums.phpfreaks.com/topic/117178-beginner-installing-php-with-iis-cgi-error/ Share on other sites More sharing options...
BioBob Posted August 5, 2008 Share Posted August 5, 2008 Check your application mapping for file extensions in IIS. Go to website properties, home directory, Configuration button and look there. Should have php listed as one of the app mappings. Is it pointed to your command line php executable or php-cgi.exe? Quote Link to comment https://forums.phpfreaks.com/topic/117178-beginner-installing-php-with-iis-cgi-error/#findComment-608482 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.