I am trying to run PHP via FastCGI on a Windows 2008 server.
I followed this installation doc http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applicati
For Issue C:\PHP\php-cgi.exe - The FastCGI process exited unexpectedly.
I resolved this by installing the Visual C++ Redistributable for Visual Studio 2015.(Microsoft Visual C++ 2015 Redistributable Update 3) and Visual C++ Redistributable for Visual Studio 2012 Update 4 in 32 and 64bit versions. and also make sure in php.info file cgi.fix_pathinfo=0 enabled.
If you are installing PHP 7.1.14 on windows server 2008 rc2 Enterprise, only thing worked for me is to install microsoft Visual C++ 2015 Redistributable Update 3 from https://www.microsoft.com/en-us/download/details.aspx?id=53587
In my case the problem was coming through the application pool. Try to change your application pool ASP.NET v4.0.
if you have two application like (your app, phpmyadmin) just disable APC extension Hope that fix that issue it's worked with me
For user using PHP 5.6.x follow this link and install the x86 version.
When you run php-cgi.exe from the dos command line, you will get the missing MSVCR110.dll pop up message.
Like Ben said, Get the x86 download for the dll here: http://www.microsoft.com/en-us/download/details.aspx?id=30679