The version to run with php IIS will be NTS. Download here: http://windows.php.net/downloads/releases/php-7.1.5-nts-Win32-VC14-x86.zip. - Link updated to the latest version of the day 07/06/2017
After downloading, unzip and modify these lines within php.ini:
;cgi.force_redirect = 1
;cgi.fix_pathinfo=1
;fastcgi.impersonate = 1
Remove ; from the top and change the cgi.force_redirect directive to 0. It will look like this:
cgi.force_redirect = 0
cgi.fix_pathinfo=1
fastcgi.impersonate = 1
Open the Run menu (windows key + R) and type appwiz.cpl and go on Enable or disable windows features, search for Internet information services -> World wide web services -> Application development resources, check the option CGI so IIS can process CGI and FASTCGI applications. After that, go again in the run menu and type inetmgr to open the IIS manager. Inside the search manager Mappings of Manipulator, double-click left-click and right-click Add Mapping of Modules. Open a screen equal to the image below, change and give OK. IIS is already ready to process pages in php.
Go back to the previous page, go to Standard document and in the right corner Add add index.php.
Take a look at this article, I believe it will help you. http://technet.microsoft.com/pt-br/library/hh994589.aspx }
– Gilberto Martini
> Just a suggestion, the PHP in the IIS does not run as fast as in Apache2, so do not expect your application to be performative.
– Nilton OS