PHP 5.5.20 crashing on Windows Server 2012 R2: MSVCR110.dll

Problem

I’m setting up Drupal to run on a clean install of Windows Server 2012 R2 / IIS 8.  I’m using PHP 5.5.20.  PHP won’t start and it’s related to MSVCR110.dll.

The application even log shows the following information:

Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Problem signature:
P1: php-cgi.exe
P2: 5.5.20.0
P3: 5491e332
P4: MSVCR110.dll
P5: 6.3.9600.17278

and the following error:

Faulting application name: php-cgi.exe, version: 5.5.20.0, time stamp: 0x5491e332
Faulting module name: MSVCR110.dll, version: 6.3.9600.17278, time stamp: 0x53eeb4a3
Exception code: 0xc0000135
Fault offset: 0x00098f05
Faulting application path: C:\php\v 5.5\php-cgi.exe

Solution

The solution is easy. Install the Visual C++ Redistributable for Visual Studio 2012 Update 4. 

  • NOTE:  I am of course running a x64 machine, but I am running x86 PHP since the 64 bit version is experimental.  Thus, you need to install the x86 version of the C++ runtime or you will get the same error.
  • I’d assume that the VS2013 version works as well, but who knows.  The SQL PDO builds don’t seem to work with PHP v 5.6 yet, so this might be specific as well.  I haven’t had the time nor the desire to research this any further.

I hope this helps someone.

Happy coding,
Tom Hundley

4 responses to “PHP 5.5.20 crashing on Windows Server 2012 R2: MSVCR110.dll

  1. Thanks! Can confirm I have PHP 5.6.16 installed from Web Platform Installer working on Windows 2012 R2 with VS2012 x86.

    I did try VS2013 as well, but that didn’t help.

    Like

  2. Many thanks to the author!! Everything worked as it should! I’ve downloaded dll and reboot my system so it’s working great.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s