我刚刚在我的电脑上安装了 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:\Apache24\bin\httpd.exe" -k runservice
[Apache] Expected Path: "c:\xampp\apache\bin\httpd.exe" -k runservice
[Apache] Problem detected!
[Apache] Port 80 in use by ""C:\Apache24\bin\httpd.exe" -k runservice" with PID 1632!
[Apache] Apache WILL NOT start without the configured ports free!
[Apache] You need to uninstall/disable/reconfigure the blocking application
[Apache] or reconfigure Apache and the Control Panel to listen on a different port
[mysql] Problem detected!
[mysql] Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.5\my.ini" MySQL55"!
[mysql] MySQL WILL NOT start without the configured ports free!
[mysql] You need to uninstall/disable/reconfigure the blocking application
[mysql] or reconfigure MySQL and the Control Panel to listen on a different port
我不知道如何解决它们。
最佳答案
您安装了 XAMPP Mysql 和 Apache。如果您要使用 XAMPP,则需要卸载 Apache 和 Mysql。这将解决您的问题
我不知道为什么你安装了包含 Apache 和 Mysql 的 XAMPP,然后分别安装 Apache 和 Mysql。
如果出于某种原因您不想卸载 Apache 和 Mysql,您可以转到 Windows > 键入 services.msc 并停止服务 Mysql 和 apache
关于php - 我如何配置 XAMPP 来修复此错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29310623/