IIS Express

IIS Express is a lightweight, standalone version of IIS optimized to develop and test websites, while still providing all the core features of IIS.

In addition to having extra features designed to facilitate website development, including:

Download

Configure

After download install PHP in a folder like C:\php

Replace fullPath='"C:\php\php-cgi.exe"' and scriptProcessor='"C:\php\php-cgi.exe" by path that installed.

If you have installed the IIS x64:

cd C:\Program Files\IIS Express\

If you have installed the IIS x86:

cd C:\Program Files (x86)\IIS Express\

After type this in cmd or run:

appcmd set config /section:system.webServer/fastCGI /+[fullPath='"C:\php\php-cgi.exe"'] appcmd set config /section:system.webServer/handlers /+[name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='"C:\php\php-cgi.exe"',resourceType='Unspecified']

After edit applicationhost.config file, if you have repeated entries as for the PHP_via_FastCGI:

cd %userprofile%\Documents\IISExpress\config notepad.exe applicationhost.config

Or using SublimeText or notepad++ or another file editor, select File > Open File and type in input:

%userprofile%\Documents\IISExpress\config\applicationhost.config

And search by repetitions:

<add name="PHP_via_FastCGI" path="*.php" .../>
Go to homepage
Star us on Github