39

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)

Onovar
  • 729
  • 1
  • 7
  • 19

2 Answers2

172

I had the same problem and I solved doing this:

open Terminal and enter this command:

sudo apachectl stop
Gabbyboy
  • 1,984
  • 2
  • 14
  • 20
  • Is this stopping the built in apache on the mac? – Dan Feb 21 '14 at 20:04
  • 1
    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! – Sophia_xoox Jul 01 '14 at 18:36
  • how on earth did you realize this would solve the issue? – Darksaint2014 Jul 17 '14 at 15:46
  • 1
    Thanks...! Are you a mathematician? (I am.) They sometimes solve things in weird ways... – Nico Sep 04 '15 at 17:33
  • says could not find specified service for me? – Joseph Astrahan Apr 05 '16 at 22:52
  • http://stackoverflow.com/questions/37888222/unable-to-start-xampp-apache-server-on-macbook – dresh Mar 02 '17 at 12:44
  • 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 – dresh Mar 02 '17 at 12:45
  • 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.... – Pankaj Nov 24 '18 at 12:20
1

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.

EnriMR
  • 3,924
  • 5
  • 39
  • 59