apache and mysql start button are disabled in xampp control panel

26,167

Solution 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"

Solution 2

Find the httpd.exe in the specified route.

C:\xampp\apache\bin

Solution 3

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.

Solution 4

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.

Solution 5

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.

Share:
26,167
Muthu kumar
Author by

Muthu kumar

Updated on July 09, 2022

Comments

  • Muthu kumar
    Muthu kumar almost 2 years

    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

  • Muthu kumar
    Muthu kumar over 8 years
    I tried all these. Did reinstalling and restarting for number of times. After each installation as administrator, Its working fine. then I'm getting this error after restart the system for 1 or two times. I guess its due to some system issue, but can't predict the exact reason. Already i have uninstalled all the unnecessary softwares.
  • CJB
    CJB over 8 years
    Sorry for late reply, so yours is installed like this correct? C:\xampp can you right click on your apache folder and compare sizing. Mine is 65.4MB in size and 68.1MB on disk
  • Muthu kumar
    Muthu kumar over 8 years
    size of c:\xampp is around 700MB.
  • Muthu kumar
    Muthu kumar over 8 years
    Does "windows update service" affect the installed apps?? while restart/start the system its started updating.
  • Chinmaya Hegde
    Chinmaya Hegde over 8 years
    Is this problem solved? @Muthukumar I am facing the same problem
  • Muthu kumar
    Muthu kumar over 8 years
    @chinmayahd Nope :( .. It doesn't work fa me. I gave up on this and just changed the OS..
  • Mohammed Samiullah
    Mohammed Samiullah over 7 years
    In my case, httpd.exe somehow got deleted from xampp\apache\bin\ and xampp was showing "Problem detected: Apache not found" Error. I just copied this file from some other PC and pasted and it started working.
  • Zeeshan Ahmad Khalil
    Zeeshan Ahmad Khalil over 2 years
    There is no httpd.exe there