我如何配置XAMPP修复此错误?

问题描述 投票:0回答:3

我刚刚在计算机上安装了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

我对如何解决它们一无所知。任何帮助,将不胜感激。

非常感谢。

php mysql apache xampp
3个回答
4
投票
您安装了XAMPP Mysql和Apache。如果要使用XAMPP,则需要卸载Apache和Mysql。这样可以解决您的问题

我不确定为什么要安装包含Apache和Mysql的XAMPP,然后分别安装Apache和Mysql。

如果由于某些原因您不想卸载Apache和Mysql,则可以转到

Windows>输入services.msc并停止服务Mysql和apache


0
投票
您将尝试在apache目录中更改httpd.conf的端口80:

C:\ xampp \ apache \ conf \ httpd.conf

它出现在某些行中。有时,它在IP之后,例如192.168.1.x:

80


0
投票
“” C:\ Program Files \ MySQL \ MySQL Server 5.5 \ bin \ mysqld.exe“ --defaults-file =” C:\ ProgramData \ MySQL \ MySQL Server 5.5 \ my.ini“ MySQL55”!

请帮助做什么

© www.soinside.com 2019 - 2024. All rights reserved.