我刚刚在我的计算机上安装了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
我对如何解决它们一无所知。任何帮助将不胜感激。
非常感谢。
答案 0 :(得分:4)
你安装了XAMPP Mysql和Apache。如果您打算使用XAMPP,则需要卸载Apache和Mysql。这将解决您的问题
我不确定为什么你安装了包含Apache和Mysql的XAMPP,然后分别安装了Apache和Mysql。
如果由于某种原因你不想卸载Apache和Mysql,你可以去 Windows>输入services.msc并停止服务Mysql和apache
答案 1 :(得分:0)
您将尝试在apache目录中更改httpd.conf的80端口:
C:\ XAMPP \阿帕奇\ CONF \ httpd.conf中
它出现在某些行中。有时,它在IP之后,例如,192.168.1.x: 80