【发布时间】:2015-06-01 08:49:45
【问题描述】:
我刚刚在我的计算机中安装了 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
我不知道如何解决它们。
【问题讨论】:
-
您需要关闭 Skype(或其他使用端口 80 的程序),或者您可以修改 httpd.conf 以使用其他 Apache 端口,例如 8080。
-
我如何查看哪些应用程序使用端口 80?我知道使用 netstat -o 你可以看到所有打开的端口,但我不知道如何解释那里显示的信息。
-
netstat -a -b应该仍然可以从命令行工作。