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.
Comments
-
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.
Thank you!
(I saw related questions but couldn't find an answer related to the mac os)
-
Dan about 10 yearsIs this stopping the built in apache on the mac?
-
Sophia_xoox almost 10 yearsI 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 almost 10 yearshow on earth did you realize this would solve the issue?
-
Nico over 8 yearsThanks...! Are you a mathematician? (I am.) They sometimes solve things in weird ways...
-
Joseph Astrahan about 8 yearssays could not find specified service for me?
-
dresh about 7 years
-
dresh about 7 yearsafter 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 over 5 yearsThis has solved my problem, after stopping from the console i changed the port from XAMPP gui Configure option and restarted the service. great Gabbyboy....