First, check all ports are Free for XAMPP to use before starting any modules
(check that no other instances of any program are occupying the ports XAMPP requires
How to remove sticking XAMPP services
...that may not have have been removed from the registry after an unsuccessful uninstall or for other obscure reasons that are preventing XAMPP modules from starting.
- Stop Apache, MySQL and FileZilla if they are running.
(This is often the reason that modules fail to start after uninstalling XAMPP especially the uninstalling of modules running as services - these modules must be stopped and the services uninstalled before trying to uninstall XAMPP or else it can't delete the registry entries if services are running.
Close/Exit the XAMPP Control Panel
(sometimes overlooked when uninstalling XAMPP especially if the CP is running as a service
Open a command prompt
Click on Run...
Remove old or sticky services.
sc delete apache2.2
(or sc delete apache if an older XAMPP
sc delete mysql
sc delete "FileZilla Server"
Close the command console
Try and start the defaulting modules again using your preferred methods - bat files are preferred at this stage as they do give an error message if the modules fail to start or use the control panel - but no error messages.
Always check the Apache log files for errors first as they often contain clues.
This procedure is not guaranteed to fix all things for all issues but may be tried without any detrimental effects - only run sc
on the module(s) that you may have issues with but in any event sc
will tell you if there is nothing for it to do for a particular module.
Finally, if you believe that your issue is a bug then report it here after registering:
Included as much detail as possible so your issue can be replicated by the developers.
BTW - sc
is an acceptable abbreviation for sc.exe
ontroller and will delete any stray services that won't shut down by any normal means, among other services commands.
Microsoft explains the Service Controller Commands HERE