我已经在Windows 10上成功安装了XAMPP,但Apache服务器无法运行。它显示错误:
19:35:48 [Apache] Apache Service detected with wrong path
19:35:48 [Apache] Change XAMPP Apache and Control Panel settings or
19:35:48 [Apache] Uninstall/disable the other service manually first
19:35:48 [Apache] Found Path: "C:\wamp\bin\apache\apache2.4.23\bin\httpd.exe" -k runservice
19:35:48 [Apache] Expected Path: "c:\xampp\apache\bin\httpd.exe" -k runservice
答案 0 :(得分:1)
答案 1 :(得分:0)
Apache尝试使用端口80。但是W3SVC服务使用此端口。因此您只需停止W3SVC服务或更改Apache端口即可。
停止W3SVC服务:
答案 2 :(得分:0)
我遇到了同样的问题,您需要以管理员身份运行cmd。
请按照以下步骤操作:
On search write cmd it will appear right click and select run as administrator.
Now it will open the windows command line and write this:
net stop http
write S to select yes
...
重新启动xampp,它将立即开始工作。