Windows 2012 R2 C:\Program Files (x86)\PHP\v5.6\php-cgi.exe – The FastCGI process exited unexpectedly PHP

The FastCGI process exited unexpectedly – Trying to run PHP on IIS 8.0

This problem has been talked about extensively around the forums, but no one is being clear on how to fix the problem. The issue first appeared after installing new Windows 2012 R2 Release.  after using  the Windows Web platform installer 5.0 to install  the framework PHP 5.6.0 and I might add when we tested on PHP 5.5 .11, a simple test page return the error: C:\Program Files (x86)\PHP\v5.6\php-cgi.exe – The FastCGI process exited unexpectedly

The Solution

You need to install the: Visual C++ Redistributable for Visual Studio 2012 Update 4  32-bit version.  and it should be noted that even if your operating system is a 64-bit operating system, you must install the 32-bit version  as PHP does not run in 64 bit.

 A download link is here:

Select the download button

FastCGI Process exited unexpectedly


Select the 32 bit version or x86

Screenshot 2015 03 23 00 36 43

Screenshot 2015 03 23 00 37 01


You are done!

Screenshot 2015 03 23 00 37 10

Test your PHP and you should be good to go.

Author: InteractiveWebs

This blog is the combined blog work of the InteractiveWebs Dev Team. Together we work on a range of DotNetNuke (DNN) applications, modules, Silverlight, and Microsoft CRM Portal integration products. Our Business is website design and hosting, with a strong focus on DotNetNuke, Microsoft Dynamics CRM, Silverlight and iPhone iPad development.

79 thoughts on “Windows 2012 R2 C:\Program Files (x86)\PHP\v5.6\php-cgi.exe – The FastCGI process exited unexpectedly PHP”

  1. I found that it does not work with php 7.1.9 non threaded win 32 version, but when I downgraded to 5.6.31 it worked. 7.1.9 does not have a php_mysql.dll file as a part of the zip file downloaded off the php site.
    I see someone else had issues with 7.0.9 version. As I need this for WordPress installation only, no reason to not downgrade it to older version.
    Summary, seems to work with 5 version of php, but not 7 from what I can tell….

Leave a Reply

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