笔者在一次运行 php.exe 时,运到“无法启动此程序,因为计算机中丢失 MSVCR110.dll。尝试重新安装该程序以解决此问题。”的提示,当时很无语,因为系统是刚刚安装好的,而且是最新版本的。
首先是打开浏览器,在浏览器的地址栏里输入 http://www.microsoft.com/zh-CN/download/details.aspx?id=30679 这个网址来进行相关程序的下载。
打开之后,在“选择语言”里选择“简体中文”,然后点击右边的“下载”按钮。
记得选择 x86版本的:vcredist_x86.exe
PHP daemon MSVCR110.dll dependency
PHP has this dependency – but (i think) they don’t ship this file. For whatever reason.
The VC11 builds require to have the Visual C++ Redistributable for Visual Studio 2012 x86 (or x64) installed. PHP x64 builds use x86, because the still rely on some 32bit functions.