Tag: Homebrew/apache
$ brew tap homebrew/dupes $ brew install httpd
You should reload httpd: launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.httpd.plist launchctl load ~/Library/LaunchAgents/homebrew.mxcl.httpd.plist
sudo launchctl load -w /Library/LaunchAgents/homebrew.mxcl.httpd.plist
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.httpd.plist
sudo brew services start httpd
sudo launchctl load -w /Library/LaunchAgents/homebrew.mxcl.httpd.plist
※httpd log and run directories not being created · Issue #119 · Homebrew/homebrew-dupes · GitHubに、run、logディレクトリが作られず起動できないエラーが報告されている。手動でディレクトリを作らないとだめかも(と思ったけど、rootで起動すれば大丈夫かも。場所は/usr/local/var/apache2/log)。