Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running IIS 6.0 on Windows Server 2003 using FastCGI. I have followed the instructions here:

including this line in my command prompt:

cscript %windir%\system32\inetsrv\fcgiconfig.js -add -section:"PHP" ^ -extension:php -path:"C:\PHP\php-cgi.exe"

However, my server does not recognise .php files. How do I configure my server to send php files to the php-cgi.exe, instead of downloading them?


merged by sysadmin1138 Aug 2 '11 at 1:49

This question was merged with Server cannot process .php files - downloads them instead because it is an exact duplicate of that question.

migrated from Aug 2 '11 at 1:28

This question came from our site for professional and enthusiast programmers.