How To Fix “The FastCGI process exited unexpectedly” IIS 8

I was recently setting up PHP 5.6 on IIS 8.5 and hit an error.

I had been following a guide and this one didn’t make much sense. After trying to endlessly debug this i found out that it wasn’t actually anything to do with PHP or IIS, it was a dependency issue. Thankfully, the fix for this is very simple. In order for PHP to function under IIS 8, it needs the Visual C++ Redistributable for Visual Studio 2012 Update 4. In particular it needs the 32-bit version. I was running under a 64 bit OS, but it seems that PHP was running as a 32-bit application and required the 32-bit redistributable. So even if you have 64 bit, download the 32-bit version of the installer.

http://www.microsoft.com/en-us/download/details.aspx?id=30679

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.