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

We are running a web server IIS8 on a windows server 2012 machine. I need to install PHP on it.

I found a nice tutorial here:

But, I am hesitant to follow it, and would like to know whether anyone has had experience installing PHP for IIS8 on a win server 2012 machine and whether there is an easy way of doing this?

Please note that I will be using php scripts to run stored procedures on a sql server 2012.

share|improve this question
up vote 4 down vote accepted

I would use the TechNet article instead, or perhaps a blend of both. I see some warnings on the TechNet side about installing the non-thread version due to incompatibilities with PHP 5.4.

Microsoft says the best way is to use their Web Installer from IIS.

share|improve this answer
thank you! it wasnt clear to me that the web installer installs php? – l--''''''---------'''''''''''' Feb 5 '13 at 22:08
No problem!! :) – JohnThePro Feb 5 '13 at 22:14
any ideas how i can install the cgi module? – l--''''''---------'''''''''''' Feb 5 '13 at 22:22
Ignore step #4.… :) – JohnThePro Feb 5 '13 at 22:25
Are you talking about the Windows CGI feature? or CGI module of PHP? According to that TechNet article, the Web PI install it (CGI) when it installs PHP. – JohnThePro Feb 5 '13 at 22:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.