I\'m on Mac Yosemite 10.10.5. Apache web server suddenly no longer starts. I tried changing the port to 8080. Also tried sudo apachectl stop and sudo apachectl start. Still won\
After 48 hours of research, I found this working solution, I found the solution here: disable OSX's built-in Apache server.
sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist
This allowed XAMPP to start on 80, while POW runs on 20559.
In my previous experience running the command apachectl configtest
will show any configuration errors you might have. If everything is ok it will print Status OK
, otherwise it will show you the config error(s). Fix those and then retry apachectl start
.
I have found a command that should locate your issue(s). In the Terminal enter: apachectl configtest
You have to run the command as the root user.
sudo apachectl stop
sudo apachectl start
I solve it with following code in terminal. You can try it.
sudo /Applications/XAMPP/xamppfiles/bin/apachectl start sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start
This worked for me:
sudo launchctl load -w /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/com.apple.serviceproxy.plist