gpt4 book ai didi

mysql - XAMPP 3.2.1 上的 Apache 和 Mysql 未启动

转载 作者:行者123 更新时间:2023-11-30 22:34:26 30 4
gpt4 key购买 nike

我安装了两个 xampp,它们都有两个不同的 PHP 版本。当我用旧的 PHP 运行 xampp 时,一切都运行顺利。但是当我用最新的PHP运行xampp时,Apache和MySQL都无法运行,总是提示“正在尝试启动mysql服务”和“正在尝试启动apache服务”。我试图更改 Apache 和 MySQL 的端口,但一切都没有用。哦,我收到这样的错误消息:

11:07:51  [Apache]  Apache Service detected with wrong path
11:07:51 [Apache] Change XAMPP Apache and Control Panel settings or
11:07:51 [Apache] Uninstall/disable the other service manually first
11:07:51 [Apache] Found Path:"D:\file3\install\xampp1\apache\bin\httpd.exe" -k runservice
11:07:51 [Apache] Expected Path: "c:\xampp1\apache\bin\httpd.exe" -k runservice
11:07:51 [mysql] MySQL Service detected with wrong path
11:07:51 [mysql] Change XAMPP MySQL and Control Panel settings or
11:07:51 [mysql] Uninstall/disable the other service manually first
11:07:51 [mysql] Found Path: D:\file3\install\xampp1\mysql\bin\mysqld.exe --defaults-file=d:\file3\install\xampp1\mysql\bin\my.ini mysql
11:07:51 [mysql] Expected Path: c:\xampp1\mysql\bin\mysqld.exe --defaults-file=c:\xampp1\mysql\bin\my.ini mysql
11:07:51 [main] Starting Check-Timer
11:07:51 [main] Control Panel Ready

但如果我更改 PATH,那么使用旧版本 PHP 的 xampp 将无法运行,对吗?我应该怎么办?没人能帮我吗?

最佳答案

卸载两个 XAMPP 并重新安装最新版本。


1) 控制面板 -> 程序 -> 程序和功能
2)找到XAMPP安装并卸载* 对你看到的两个都这样做

您还需要检查 XAMPP 是否仍作为服务安装。

1) 点击 Windows 按钮并输入“服务”
2) 在你看到的列表中寻找它

如果无法卸载,这里的帖子可能会有所帮助:How to uninstall XAMPP when it won't uninstall

关于mysql - XAMPP 3.2.1 上的 Apache 和 Mysql 未启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33006539/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com