重新安装Wamp遇到的坑

不知何时Wamp的图标变成了黄色,并有以下的提示信息:
one of two services running

于是选择重装以下Wamp...

下载和安装过程挺顺利,然而到安装结束的时候突然弹出没有VCRUNTIME140.DLL的错误

google了一下发现,应该是安装Wamp3.0.6需要一大堆的vc运行库(原本是可以正常运行的,重装后却不行了,可能是在卸载的过程中删除了一部分vc运行库?)
于是安装需要的vc运行库VC9 VC10 VC11 VC13 VC14:

VC9 Packages (Visual C++ 2008 SP1)
http://www.microsoft.com/en-us/download/details.aspx?id=5582
http://www.microsoft.com/en-us/download/details.aspx?id=2092
VC10 Packages (Visual C++ 2010 SP1)
http://www.microsoft.com/en-us/download/details.aspx?id=8328
http://www.microsoft.com/en-us/download/details.aspx?id=13523
VC11 Packages (Visual C++ 2012 Update 4) The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page: http://www.microsoft.com/en-us/download/details.aspx?id=30679
VC13 Packages[/b] (Visual C++ 2013) The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page: https://www.microsoft.com/en-us/download/details.aspx?id=40784
VC14 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/en-us/download/details.aspx?id=48145

在实际安装过程中VC9 VC10 VC11都是已经存在的,只有VC13 VC14进行了安装。

在安装完以上运行库以后,Wamp确实是可以运行了,但是会提示one of two services running,图标还是黄色,并且localhost首页也打不开!!

稍微谷歌一下后,怀疑是端口号被占用了。但是使用自带的Test port工具来对80端口进行检测却发现没问题!

最后实在无法解决了,突然想起在一开始那边提示里面有提到,安装完vc运行库后,需要卸载重装!

卸载重装完成后,问题完美解决!


参考网站:

  • Wamp Won't Turn Green & VCRUNTIME140.dll error
  • wampserver 1 of 2 services running server offline

你可能感兴趣的:(重新安装Wamp遇到的坑)