如何在xampp中更改Apache路径



当我从控制面板运行xampp时,我收到了这个错误。它还显示了FileZilla和Tomcat的相同错误。我已经删除了xampp文件夹中的"找到路径"。如何更改路径?

[Apache]    Apache Service detected with wrong path
[Apache]    Change XAMPP Apache and Control Panel settings or
[Apache]    Uninstall/disable the other service manually first
[Apache]    Found Path: "C:swaticolg stuffxamppapachebinhttpd.exe" -k runservice
[Apache]    Expected Path: "c:xamppapachebinhttpd.exe" -k runservice

这是因为您重新安装了XAMPP apache,但以前的apache仍在后台运行。要验证它,请在搜索窗口中键入services并打开它。检查apache是否仍在运行,如果是,双击并复制服务名称。然后,在搜索窗口中键入cmd,以管理员身份运行,然后键入如下:

sc delete"service_name"

service_name通常为"Apache 2.4"。

当您收到类似"serviceDelete success"这样的成功消息时,重新启动计算机并尝试启动XAMPP,它应该会起作用。

最新更新