OS X Yosemite: How to Set Up Apache, MySQL, and PHP with Homebrew
Raureif
4910

Love this setup, been using it for a while now. Upgraded to OSX Sierra recently and wanted to post some needed adjustments to set this up for that.

First, for steps 2 and 5 I replaced

/private/etc/apache2/

with

/usr/local/etc/apache2/2.4/

for the path to the apache files. And on step on line 271 I added an extra clause for Sierra to use xcode:

<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>

This are the only changes I think are relevant to this process. I got these from this article I found while troubleshooting after upgrading from Yosemite to Sierra:

https://getgrav.org/blog/macos-sierra-apache-multiple-php-versions

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.