WampServer安装遇到无法启动服务的解决办法

来源:互联网 发布:sqlserver 2008 64 编辑:程序博客网 时间:2024/05/22 15:14

一、错误描述

今天在安装WampServer的时候碰到安装过程中无法启动服务的错误,如下所示:

这里写图片描述

这里写图片描述


二、网上解决办法

原因是缺少VC++的组件,查找解决办法,网上的解决办法均为:
去微软官网找到需要安装的组件,根据需求安装32位或86位组件,安装后卸载WampServer并重新安装。
VC++ 组件下载地址为:
https://www.microsoft.com/en-US/download/details.aspx?id=48145

根据以上办法重新安装,依然提示缺少dll文件。

三、最终解决办法

WampServer3.0.6版本需要以下依赖包:VC9, VC10, VC11, VC13 and VC14

Make sure you are “up to date” in the redistributable packages VC9, VC10, VC11, VC13 and VC14

依次去官网找到相应下载包并安装,然后卸载重装WampServer。
下载地址为:

— 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 or more
– 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] (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 Update 3)
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/details.aspx?id=53840
If you have a 64-bit Windows, you must install both 32 and 64bit versions, even if you do not use Wampserver 64 bit.

原创粉丝点击