apache and mysql start button are disabled in xampp control panel

百般思念 提交于 2019-12-13 16:09:16

问题


When I install xampp its working fine. But once after restart/shutdown, It giving this error.

[Apache] Problem detected: Apache not found.
[Apache] Disbling apache buttons
[Apache] Run this program from your apache root directory.
[mysql]  Problem detected: mysql not found 
[mysql]  Diabling mysql buttons
[mysql]  Run this program from your apache root directory.

Xampp version: xampp-win32-1-8-3-4-VC11-installer

System configuration: windows 7 32 bit

Note: while install it shows to disable the UAC.

Here is the image:


回答1:


Try installing as admin and disable your anti virus when installing, you can also disable UAC as well. And always run as Admin when launching by right clicking the .exe and go properties and set "Run as Administrator"




回答2:


first check your xampp folder where apche/bin and mysql/bin is available or not.if it is not available then search it into your drive and put the xampp folder as it is.And last restart your xampp control panel and start the apache and mysql server.




回答3:


Find the httpd.exe in the specified route.

C:\xampp\apache\bin



回答4:


This happened to me yesterday after a crash. It was saying Tomcat was not found, and the buttons were disabled. First thing I checked was if Tomcat was in the Xampp directory and could be started manually. It could, so I started looking for configuration errors. I clicked the config button at the top, then service and port settings, and then the Tomcat tab. I saw immediately that Xampp was looking for Tomcat 7, and that was the problem. I had updated to 8 a long time ago and I guess when the system crashed, Xampp reverted to the default config. I changed that to 8, and restarted Xampp. Problem solved, but the buttons were still disabled. I then discovered that in the xampp-control.ini file, under the ServiceNames section, it said Tomcat=Tomcat7. I changed that to Tomcat8 and restarted Xampp, and the buttons were working again. I would imagine it would be a similar procedure for any of the other modules not being detected. I hope this helps someone.



来源:https://stackoverflow.com/questions/32777169/apache-and-mysql-start-button-are-disabled-in-xampp-control-panel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!