XAMPP:Apache没有在Windows 10中运行

时间:2018-05-26 14:16:51

标签: xampp

我已经在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

enter image description here

3 个答案:

答案 0 :(得分:1)

<块引用>

试试下面的方法

选择“以管理员身份运行”

enter image description here

<块引用>

点击 Apache 旁边的左侧按钮

<块引用>

点击卸载

enter image description here

<块引用>

这对我有用,希望有帮助!

答案 1 :(得分:0)

Apache尝试使用端口80。但是W3SVC服务使用此端口。因此您只需停止W3SVC服务或更改Apache端口即可。

停止W3SVC服务:

  1. Windows键+ R并输入'services.msc'
  2. 从服务列表“万维网发布服务”中查找
  3. 停止运行,然后再次尝试运行Apache

答案 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,它将立即开始工作。