XAMPP 1.8.2-2 Apache Web Server won't start, always stops immediately

44,032

Solution 1

I had the same problem and I solved doing this:

open Terminal and enter this command:

sudo apachectl stop

Solution 2

After install Mac OS X 10.11 you must reinstall XAMPP again. I'm not sure what is different (maybe some permissions) but that was the unique solution for me when I had the same problem.

Share:
44,032
Onovar
Author by

Onovar

Student MCT

Updated on September 16, 2020

Comments

  • Onovar
    Onovar over 3 years

    I'm running XAMPP 1.8.2-2 on my mac (OS X 10.9) and the Apache Web server won't start. It always get the status starting up.. or stopped. (never a green light.) I already tried to change the port to 8080 or 8888 but it still won't run.

    Can someone please help me? I show some images below to give you a better view.

    XAMPP apache web server won't start XAMPP apache web server starting without succes XAMPP apache web server configure port doesn't help

    Thank you!

    (I saw related questions but couldn't find an answer related to the mac os)

  • Dan
    Dan about 10 years
    Is this stopping the built in apache on the mac?
  • Sophia_xoox
    Sophia_xoox almost 10 years
    I originally tried this and it didn't work, I then realised its apachetl(L not 1, L for Ladybug, L for Letter! not 1!) silly me! thanks for the answer though!
  • Darksaint2014
    Darksaint2014 almost 10 years
    how on earth did you realize this would solve the issue?
  • Nico
    Nico over 8 years
    Thanks...! Are you a mathematician? (I am.) They sometimes solve things in weird ways...
  • Joseph Astrahan
    Joseph Astrahan about 8 years
    says could not find specified service for me?
  • dresh
    dresh about 7 years
  • dresh
    dresh about 7 years
    after you have stopped the apachectl that comes out of the box, you also need to find any process that is using port 80: you an do so using : $sudo lsof -i ':80' and then start apache provided with xampp using: sudo /Applications/XAMPP/xamppfiles/bin/apachectl start
  • Pankaj
    Pankaj over 5 years
    This has solved my problem, after stopping from the console i changed the port from XAMPP gui Configure option and restarted the service. great Gabbyboy....