WAMP 不会变绿。几周前它工作正常。在查看有关此主题的其他答案时,很多人说要在 Apache 中安装服务。
当我这样做时,我收到一条错误代码,指出:
"The program can't start because VCRUNTIME140.dll is missing from your computer. Try reinstalling the program to fix the problem."
最佳答案
正如 Oriol 所说,在安装 WAMP 之前,您需要以下可再发行组件。
来自 readme.txt
BEFORE proceeding with the installation of Wampserver, you must ensure that certain elements are installed on your system, otherwise Wampserver will absolutely not run, and in addition, the installation will be faulty and you need to remove Wampserver BEFORE installing the elements that were missing.
Make sure you are "up to date" in the redistributable packages VC9, VC10, VC11, VC13 and VC14 Even if you think you are up to date, install each package as administrator and if message "Already installed", validate Repair.
Wampserver 2.4、2.5 和 3.0 必须使用以下软件包(VC9、VC10、VC11),即使您仅使用 Apache 和 PHP 版本 PHP 7 和 Apache 2.4.17 也需要 VC11 和 VC14
VC9 包 (Visual C++ 2008 SP1)
https://www.microsoft.com/en-us/download/details.aspx?id=5582
https://www.microsoft.com/en-us/download/details.aspx?id=2092VC10 包 (Visual C++ 2010 SP1)
https://www.microsoft.com/en-us/download/details.aspx?id=8328
https://www.microsoft.com/en-us/download/details.aspx?id=13523VC11 包(Visual C++ 2012 更新 4) 要下载的两个文件VSU4\vcredist_x86.exe和VSU4\vcredist_x64.exe在同一个页面: http://www.microsoft.com/en-us/download/details.aspx?id=30679
VC13 包[/b] (Visual C++ 2013) 两个文件VSU4\vcredist_x86.exe和 VSU4\vcredist_x64.exe
VC14 包(Visual C++ 2015) 要下载的两个文件vcredist_x86.exe和vcredist_x64.exe在同一页面: https://www.microsoft.com/en-us/download/details.aspx?id=52685
VC 包 x64(Visual C++ 2017)
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
关于apache - WAMP 不会变绿。和 VCRUNTIME140.dll 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42635678/