首页 > Web开发 > 详细

xampp重新安装时提示httpd路径错误

时间:2017-05-12 21:40:57      阅读:445      评论:0      收藏:0      [点我收藏+]

由于之前安装的xampp版本比较低,卸载后下载了新版本xampp重新安装,安装后启动xampp提示如下:

Apache Service detected with wrongpath.Change XAMPP Apache and Control Panel settings orUninstall/disable theother service manually first

Found Path: "D:\programfiles\xampp\apache\bin\httpd.exe" -k runservice

Expected Path: "d:\txampp\apache\bin\httpd.exe"-k runservice

这是因为启动路径出现了错误,Found Path: "D:\programfiles\xampp\apache\bin\httpd.exe" -k runservice这个是以前老版本安装的路径,"d:\txampp\apache\bin\httpd.exe"-k runservice这个才是现在安装的路径。

解决方案:   

首先,进入自己的注册表:win+R打开运行对话框;

然后,输入regedit回车,进入注册表--->点击HKEY_LOCAL_MACHINE---->SYSTEM---->currentControlSet---->Services---->找到Apache2.4,你就会在右边看到ImagePath,这时候的路径是以前那个版本的路径,选中ImagePath点击右键修改,把xampp里面提示的Expected Path后面的路径粘贴进去,然后确定,如下图所示:

技术分享


最后,重启xampp就可以了。


洋哥学习的主页:http://edu.51cto.com/lecturer/index/user_id-5811414.html

本文出自 “昊洋_栖息处” 博客,请务必保留此出处http://zdytesting.blog.51cto.com/5811414/1925145

xampp重新安装时提示httpd路径错误

原文:http://zdytesting.blog.51cto.com/5811414/1925145

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!