Install PHP5.6 Under Windows Server 2012 IIS 8

I think this may help you;

The process is:

A  – Download the latest zip distribution for windows from

B – Unzip the archive under c:Php

C – Update your php.ini file: – Configure CGI- and FastCGI settings in your php.ini such as

Fastcgi.impersonate = 1
fastcgi.logging = 0
cgi.fix_pathinfo = 1
cgi.force_redirect = 0

D - Then in Windows type inetmgr into run under the start menu.

E – Select the server node in the window that opens which is in the connections tree.


F – In the central pane, known as the features view, openthe Handler Mappings feature.

2 - Copy

F1 – In the actions pane click **Add Module Mapping…”

G – Use these details to fill in the blanks;

Request path: *.php
Module: FastCgiModule
Executable: C:[path to php install]php-cgi.exe
Name: PHP_via_FastCGI
1 - Copy

G2 – Click request restrictions and then configure the mapping to invoke handler only if request is mapped to a file or folder.

G3 – Click okay on all dialogues to save the config.

You should restart IIS once you’re done.


PS: If you encounter the following error:

The program can’t start because MSVCR110.dll is missing from your computer. Try reinstalling the problem to fix this problem.

you will need VS C++ 2012 (not 2010 as advertised). Go here:

You need to download the x86 version (if you install the 64bit version it will give the same error)