Yesterday I reinstalled my computer’s OS and had to rebuild the PHP environment. That’s no big deal, but I hit a thorny problem: IIS kept reporting 500 errors, and running php-cgi.exe prompted that MSVCR110.dll was missing. Searching online, some said to copy one into Windows\system32, but that still didn’t work.
What’s going on? All PHP 5.5 environments are now built under the VC11 compile scripts, so on Windows you must install the relevant component (Visual C++ Redistributable for Visual Studio 2012 Update 4).
First, open your browser and enter http://www.microsoft.com/zh-CN/download/details.aspx?id=30679 in the address bar to download the relevant program.
Once open, choose “简体中文” (Simplified Chinese) under “Select language”, then click the “Download” button on the right.
A dialog now pops up asking which program to download. I chose the 64-bit one because my system is 64-bit; choose according to your needs. Remember to pick the right one. After selecting, click “Next”.
You now arrive at a thank-you-for-downloading page and the download begins. The file is small and finishes soon.
Find the downloaded file and run it. An agreement screen appears; tick the box before “I agree to the license terms and conditions” to show you accept, then click “Install”.
Wait a moment…
When installation finishes, this screen tells you it was set up successfully.
Let’s try PHP again and check the version. Run CMD and type php -v, then press Enter.
OK, it now shows PHP 5.5.7, and PHP can run.







