The fix. Make sure you backup your system first!!!

  1. Start Services via Control Panel>Admin Tools (also with Ctrl+R and services.msc)
  2. Look for Apache and mySQL services. Look at the patch indicated in the description (right click on service then click on properties). Chances are that you have Apache listed twice, one from your correct install and one from a previous install. Even if you only see one, look at the path, chances are its from a previous install and causing your install not to work. In either case, you need to delete those incorrect services.

    a. Got to command prompt (run as administrator): Start > all programs > Accessories > right click on Command Prompt > Select ‘run as administrator’

    b. on command prompt type sc delete service, where service is the service you’re wanting to delete, such as apache2.1 (or sc delete Apache2.4). It should be exactly as it appears in your services. If the service has spaces such as apache 2.1 then enter it in quotes, i.e. sc delete “apache 2.1”

    c. press enter. Now refresh or close/open your services window and you’ll see its gone.

DO THIS for all services that XAMPP finds as running with incorrect path.

Once you do this, go head and restart the XAMPP control panel (as administrator) and viola!!! all works. No conflicts

Source: XAMPP on Windows – Apache not starting – Stack Overflow

Leave a Reply

Your email address will not be published. Required fields are marked *

Post Navigation