Muthu kumar
Muthu kumar

Reputation: 162

apache and mysql start button are disabled in xampp control panel

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: xampp start buttons disabled

Upvotes: 6

Views: 37932

Answers (5)

hamza minhas
hamza minhas

Reputation: 11

you placed xampp control on the desktop for a quick start this is the main reason for disabled apache and MySQL button. try to start from install xampp folder.

Upvotes: 1

Swappart
Swappart

Reputation: 11

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.

Upvotes: 1

ValRob
ValRob

Reputation: 2682

Find the httpd.exe in the specified route.

C:\xampp\apache\bin

Upvotes: 2

Bharat Kumar
Bharat Kumar

Reputation: 11

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.

Upvotes: 1

CJB
CJB

Reputation: 300

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"

Upvotes: 2

Related Questions