How ToWindows Server

Windows Server How To: Fix HTTP Error 500 “The FastCGI process exited unexpectedly” error on Server 2012 R2

tl;dr Download and install the 32 bit version of Visual C++ Redistributable for Visual Studio 2012 Update 4 from this link. Refresh page and all should be fixed.

If you’ve installed PHP 5.5 or 5.6 via the WebPlatform Installer on Windows Server 2012 R2 you may have noticed it refuses to work. Every PHP page on your server results in an HTTP 500 error (as seen below). Thankfully, it’s very easy to fix (provided you’ve got the same issue). For some reason the WebPlatform Installer doesn’t automatically install all of the pre-resquites for PHP and that results in the error “HTTP Error 500 – The FastCGI process exited unexpectedly”.

Screen Shot 2015-07-24 at 15.51.35

Sadly the error pages don’t show much information, you need to open up Command Prompt and run php.exe and it’ll pop up an error message of the exact issue.

Screen Shot 2015-07-24 at 15.57.13

In this case, MSVCR110.dll is missing. This can easily be rectified by downloading the 32 bit (x86) version of ‘Visual C++ Redistributable for Visual Studio 2012 Update 4’ from hereYou need to download the 32bit version else you’ll still have the same issue. 

Screen Shot 2015-07-24 at 16.02.49

Screen Shot 2015-07-24 at 16.03.43

Once you’ve downloaded and installed the package, just refresh the page you were trying to access and it should work 🙂

Screen Shot 2015-07-24 at 16.04.05

Jonathan Procter

Linux, Unix, and Windows server sysadmin.

Related Articles

Back to top button