WampServer常见问题集锦

来源:互联网 发布:家装软件app 编辑:程序博客网 时间:2024/06/08 12:53

1、启动后wampserver托盘显示橙色图标
点击putonline报如下错误

could not execute menu item 服务未启动
解决方法:
① 首先确定80端口没有被占用
cmd-》netstat -ano 查看谁在使用80端口,如果80端口被占用,则可以修改apache监听接口,在http.conf配置文件中修改listen 8080
② 有没有安装其他版本的apache,运行,输入services.msc打开服务,看是否有apache其他版本的服务,如果存在则删除该服务名称即可
在cmd命令行中执行如下命令:
sc delete 服务名 (如果系统盘windows目录下存在Apache目录,则删除之,然后重新启动系统,重新安装wampserver)

2、安装时缺少VCRUNTIME140.dll
官方给的提示:
— 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/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)
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=48145
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 全都安装)。

0 0
原创粉丝点击