I have an issue where Apache will not start after updating to High Sierra 10.13.1. There isn't anything showing in the error logs, but when I try to
apachectl start nothing happens. If I run
apachectl configtest I receive "Syntax OK
I have used commands like
sudo launchctl load -w /System/Library/LaunchDaemons/org.apache.httpd.plist to no avail. Apache will not start. I can run
sudo launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.httpd.plist and that is not working either.
I took a look at the brew services list and httpd shows up in the list along with other process (mysql) but httpd's status is showing a yellow "started" instead of a green one.
I have tried many different things, and what I am finding is that if I look into the system.log file I find
com.apple.xpc.launchctl (homebrew.mxcl.httpd24): Service exited with abnormal code:1
If I run apachectl start, the command seems to work, but when I run the stop command I get "httpd (no pid file) not running.
I am also receiving the output of com.;apple.xpc.launchd (org.apache.httpd): Please switch away from OnDemand to KeepAlive.
Is there something with High Sierra that is preventing Apache from running when it ran fine in Sierra?