Sample Header Ad - 728x90

How to start homebrew Apache on boot?

12 votes
3 answers
39423 views
I've switched out the default apache for the homebrew version. I've stopped the default apache starting on boot with: sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist However, the homebrew version does not start automatically. The httpd process is running (as confirmed by brew services start httpd) but the server is not running, until I execute sudo apachectl start (apachectl here refers to the homebrew version at /usr/local/bin/apachectl) I'm using macOS Mojave, and the homebrew Apache version is 2.4.37.
Asked by DisgruntledGoat (541 rep)
Nov 30, 2018, 01:39 AM
Last activity: Jun 8, 2024, 12:13 PM