WAMP 安裝——缺少文件(VCRUNTIME140.DLL、API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL、MSVCR110.DLL)
安装环境#
- win7 SP1 旗舰版
- Wampserver 64bit v3.0.6
问题描述及解决办法#
VCRUNTIME140.DLL#
第一次安装时,最后提示缺少 VCRUNTIME140.dll
文件,于是尝试下载安装该文件,均失败。
第二次,参考了一篇文章,了解到 Wamp 官方网站在下载时有提示。因为是英文所以没有在意,按照官网的链接,下载安装了 VC12 的运行库,结果仍提示失败。
第三次,查阅其他资料,尝试安装 VC15 的运行库,这个问题就解决了。接下来就提示缺失 API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL
文件。
相关的运行库文件下载地址在下方 “官方给的提示” 中给出,下载对应版本即可。
API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL#
这个问题是依靠安装 windons 的一个更新 Windows Server 2008 R2 x64 Edition 更新程序 (KB2999226)
来解决。
参考了一篇文章,简明扼要:
从官网下载了 WAMP3.0 并安装,却提示缺少 api-ms-win-crt-runtime-l1-1-0.dll 文件,依照安装需求安装 V15,无效。
然后依次 VC9,VC10,VC11,VC13, VC15 全装了,依然没有这个文件。从另一台服务器拷贝这个文件,用 regsvr32 注册不了,求教 51 终于得到正解,这个文件需要安装 KB2999226 。至此解决。官方解释:
https://helpx.adobe.com/tw/creative-cloud/...
https://support.microsoft.com/zh-tw/kb/299...KB2999226 下载地址:
https://www.microsoft.com/en-us/download/d...
MSVCR110.DLL#
没有遇到缺失此文件的提示,查阅相关资料,安装 VC 运行库 应该就能解决该问题。
官方给的提示:#
— Visual C++ Packages —
The MSVC runtime libraries VC9, VC10, VC11 are required for Wampserver 2.4, 2.5 and 3.0, even if you use only Apache and PHP versions with VC11. Runtimes VC13, VC14 is required for PHP 7 and Apache 2.4.17– VC9 Packages (Visual C++ 2008 SP1)
http://www.microsoft.com/en-us/download/de...
http://www.microsoft.com/en-us/download/de...
– VC10 Packages (Visual C++ 2010 SP1)
http://www.microsoft.com/en-us/download/de...
http://www.microsoft.com/en-us/download/de...
– VC12 Packages (Visual C++ 2012 Update 4)
The two files VSU4vcredist_x86.exe and VSU4vcredist_x64.exe to be download are on the same page:
http://www.microsoft.com/en-us/download/de...
– VC13 Packages (Visual C++ 2013)
The two files VSU4vcredist_x86.exe and VSU4vcredist_x64.exe to be download are on the same page:
https://www.microsoft.com/en-us/download/d...
– VC15 Packages (Visual C++ 2015)
The two files vcredist_x86.exe and vcredist_x64.exe to be download are on the same page:
http://www.microsoft.com/fr-fr/download/de...
If you have a 64-bit Windows, you must install both 32 and 64bit versions, even if you do not use Wampserver 64 bit.
不同版本对应的 The MSVC runtime libraries 也不一样。建议安装全了,要不会报错误 (32bit 和 64bit 全都安装)。
这段提示来自于 第三方 Wamp 下载页 ,最后似乎说的是 VC 运行库 的 32位
和 64位
都要装,我没有全装但问题已经解决。
参考资料:#
https://www.cnblogs.com/tnnyang/p/5988150....
http://blog.51cto.com/hiker88/1834669
欢迎大家补充~
本作品采用《CC 协议》,转载必须注明作者和本文链接
推荐文章: