简体   繁体   English

XAMPP 3.2.1上的Apache和Mysql无法启动

[英]Apache and Mysql on XAMPP 3.2.1 not Starting

I have two xampp installed, both have two different PHP versions. 我安装了两个xampp,两个都有两个不同的PHP版本。 when I run xampp with old PHP everything is running smoothly. 当我使用旧的PHP运行xampp时,一切运行顺利。 but when I run xampp with the latest PHP, Apache and MySQL can not be run, always bring up the word "attempting to start mysql service" and "attempting to start the apache service". 但是,当我使用最新的PHP运行xampp时,无法运行Apache和MySQL,请始终显示“尝试启动mysql服务”和“尝试启动apache服务”一词。 I've tried to change the ports for Apache and MySQL, but everything is useless. 我试图更改Apache和MySQL的端口,但是一切都没有用。 oh, I get an error message like this: 哦,我收到这样的错误消息:

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

but if I change the PATH then xampp with old versions of PHP will not be able to run, right? 但是如果我更改PATH,则旧版本的PHP的xampp将无法运行,对吗? What should I do? 我该怎么办? No one can help me? 没有人可以帮助我吗?

Uninstall both XAMPP's and reinstall the latest version. 卸载两个XAMPP,然后重新安装最新版本。


1) Control Panel -> Programs -> Programs and Features 1)控制面板->程序->程序和功能
2) Find the XAMPP installation and uninstall it * Do this for both that you see 2)找到XAMPP安装并将其卸载*对您所看到的都执行此操作

You will also want to check if XAMPP is still installed as a service. 您还需要检查XAMPP是否仍作为服务安装。

1) Hit the windows button and type "services" 1)点击Windows按钮并输入“服务”
2) Look for it in the list that you see 2)在您看到的列表中查找

If it won't uninstall here's a post that may help: How to uninstall XAMPP when it won't uninstall 如果它无法卸载,那么这里的帖子可能会有所帮助: 无法卸载XAMPP时如何卸载

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM