我已成功在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
Apache尝试使用端口80.但W3SVC服务使用此端口。所以你只需停止W3SVC服务或更改Apache端口。
停止W3SVC服务:
我有同样的问题,你需要以管理员身份运行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,现在就可以了。