腾讯云服务器安装wampserver,,电脑出现缺少vcruntime140.dll文件问题

到  http://www.zsgtdc.cn/


下载最新的wampserver 3.0.6,进行正常的安装,如果出现提示电脑出现缺少vcruntime140.dll,请安装我下面的操作:

1.把wampserver 3.0.6进行卸载      开始菜单->控制面板->程序/卸载程序,进行卸载,当然,你也可以使用其他类似软件管家的工具进行卸载。

2.这里提供 64位的vc++2015,链接: http://pan.baidu.com/s/1pLaRTRd 密码: un85  。32位的请自行到http://www.microsoft.com/en-us/download/details.aspx?id=30679

3.把下载的vc++2015安装,无脑式安装,一直按next就好。

4.把vcruntime140.dll解压文件,把32位的vcruntime140.dll复制到:C:\Windows\SysWOW64里,在把,zhuce.bat复制C:\Windows\SysWOW64,双击运行;当你看到:注册成功的字样,说明vrcuntime140.dll已经注册成功了。

5.把下载最新的wampserver 3.0.6重新安装,

6.如果遇到wampserver 3.0.6的apache无法启动,先把网站的80端口停用,再启动apache就可以


修改WampServer的默认端口

找到Apache安装目录下conf目录下的httpd.conf文件


打开它,找到“Listen 80”和“ServerName localhost:80”,紧接着Listen的数字就是端口号,默认状态下为“Listen 80”和“ServerName localhost:80”。修改为Listen 8080”和“ServerName localhost:8080



重启wamp,就可以生效了


wampserver安装缺失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 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 - VC15 Redistribuable (Visual C++ 2017) https://go.microsoft.com/fwlink/?LinkId=746571 Visual C++ Redistributable Packages for Visual Studio 2017 x86 https://go.microsoft.com/fwlink/?LinkId=746572 Visual C++ Redistributable Packages for Visual Studio 2017 x64 VC2017 (VC15) is backward compatible to VC2015 (VC14). That means, a VC14 module can be used inside a VC15 binary. Because this compatibility the version number of the Redistributable is 14.1x.xx and after you install the Redistributable VC2017, VC2015 is removed but you can still use VC14. If you have a 64-bit Windows, you must install both 32 and 64bit versions of each VisualC++ package, even if you do not use Wampserver 64 bit. Warning: Sometimes Microsoft may update the VC ++ package by breaking the download links and without redirect to the new. If the case happens to you, remember that item number 20 below will be updated and the page http://wampserver.aviatechno.net/ section Visual C++ Redistribuable Packages is up to date. This is item number 20 of TROUBLESHOOTING TIPS of Wampserver: http://forum.wampserver.com/read.php?2,134915
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值