Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Trying to setup nginx and php on my Windows machine, but every time I try to start php-cgi.exe I get a system error.

The program can't start because MSVCR110.dll is missing from your computer. Try reinstalling the problem to fix this problem.

I'm using Wnmp to start my programs and downloaded the latest PHP 5.5 to it (32bit version).

I have Visual C++ 2008 x86, C++ 2010 x64 and C++ 2010 x86.

What am I missing and why can't PHP list programs required for PHP (cgi) to work?

share|improve this question

closed as off topic by Sven, Ward, Falcon Momot, mdpc, Jenny D Jun 22 '13 at 20:23

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

How the heck could this be off topic? I'd really like to know. This is a bonafide server issue for me. –  hopeseekr Jun 26 at 17:05
yea that's stupid. this is a real issue and the fix below worked for me –  Andy Brudtkuhl Sep 24 at 16:43
Perhaps this will be better suited to StackOverflow as it is about programming tools. –  Jimbo Dec 4 at 12:01

1 Answer 1

up vote 34 down vote accepted

You need VS C++ 2012. Go here: http://www.microsoft.com/en-us/download/details.aspx?id=30679

You need to download the x86 version if you install the 64bit version it will give the same error.

share|improve this answer
Even if the php version is 5.5.3 and for 64-bit systems ?! –  Muhammad Gelbana Sep 2 '13 at 9:12
@MuhammadGelbana Yes, it relies on some 32-bit functions. –  Nathan C Sep 3 '13 at 0:51
I needed both, well I installed the 32bit version first and it failed as per ops error message and then I installed the 64 bit version and all was well. This is on Windows Server 2012 data center using PHP 5.5 (5.5.4) –  rism Oct 9 '13 at 5:05
Thanks! That worked! –  Dimitris Damilos Nov 6 '13 at 11:08
it worked, thanks –  SimonVeloper Jan 22 at 20:51

Not the answer you're looking for? Browse other questions tagged or ask your own question.