Take the 2-minute tour ×
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:

http://www.php.net/manual/en/install.windows.iis6.php

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?

share

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 stackoverflow.com Aug 2 '11 at 1:28

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