Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.