- macOS High Sierra
- Homebrew (Required by "Homebrew PHP")
# Check the error log
tail -f /private/var/log/apache2/error_log
# Check apache status
sudo apachectl
# Compare config file against a backup
diff -u /private/etc/apache2/httpd.conf /private/etc/apache2/httpd.conf.20151001131408 | colordiff
# httpd-vhosts may have been overwritten
cat /private/etc/apache2/extra/httpd-vhosts.conf
# `brew tap homebrew/apache` fails
cd /usr/local/Homebrew/Library/Taps/homebrew
git clone https://github.com/Homebrew/homebrew-apache.git
curl https://raw.githubusercontent.com/ferjul17/homebrew-apache/929a52cb2dc235507aa151334d45eb5042e44a35/mod_suexec.rb > homebrew-apache/mod_suexec.rb
-
Homebrew PHP, https://github.com/Homebrew/homebrew-php
-
Homebrew Services, https://github.com/Homebrew/homebrew-services
-
macOS 10.12 Sierra Apache Setup: Multiple PHP Versions, https://getgrav.org/blog/macos-sierra-apache-multiple-php-versions
-
Invalid formula: ../mod_suexec.rb - "formulae require at least a URL" #154, https://github.com/Homebrew/homebrew-apache/issues/154
-
where is libphp5.so on latest php56? #3714, https://github.com/Homebrew/homebrew-php/issues/3714