我已经将xampp7.2.6安装到D:\xampp,然后在windows10中将xampp5.6.12安装到D:\xampp5612。当我单击启动 xampp5 apache 时,xampp7 apache 将启动。
当我在单击任何内容之前执行 xampp5612/xampp-xontrol.exe 时,日志显示以下错误。
Apache Service detected with wrong path
Change XAMPP Apache and Control Panel settings or
Uninstall/disable the other service manually first
Found Path: "D:\xampp\apache\bin\httpd.exe" -k runservice
Expected Path: "d:\xampp5612\apache\bin\httpd.exe" -k runservice
Problem detected!
Port 80 in use by ""D:\xampp\apache\bin\httpd.exe" -k runservice" with PID 10428!
Apache WILL NOT start without the configured ports free!
You need to uninstall/disable/reconfigure the blocking application
or reconfigure Apache and the Control Panel to listen on a different port
Problem detected!
Port 443 in use by ""D:\xampp\apache\bin\httpd.exe" -k runservice" with PID 10428!
Apache WILL NOT start without the configured ports free!
You need to uninstall/disable/reconfigure the blocking application
or reconfigure Apache and the Control Panel to listen on a different port
MySQL Service detected with wrong path
Change XAMPP MySQL and Control Panel settings or
Uninstall/disable the other service manually first
Found Path: D:\xampp\mysql\bin\mysqld.exe --defaults-file=d:\xampp\mysql\bin\my.ini mysql
Expected Path: d:\xampp5612\mysql\bin\mysqld.exe --defaults-file=d:\xampp5612\mysql\bin\my.ini mysql
如何修复“找到路径”以启动 xampp5.6.12?
此问题的简单解决方案是手动启动 Apache。
apache_start.bat
查找在 eg中调用的文件D:\xampp5612
。如果这个文件不存在,那么你可以简单地
.bat
自己创建一个合适的文件:前任。
apache_start.bat
(xampp)该批处理文件直接取自 XAMPP,仅作了少量改动。重要的部分是指定
httpd.exe
(Apache)的正确路径。请注意,只要您希望 Apache 运行,您就需要保持由该批处理文件生成的命令窗口打开(即关闭窗口将关闭 Apache)。当然,您可以毫无问题地最小化它(根据需要)。