&tag(Homebrew/php56);
php@5.6 was deleted from homebrew/core in commit 37b075c205:
$ brew tap exolnet/homebrew-deprecated; $ brew install php@5.6 -with-mysql --with-homebrew-apxs
LoadModule php5_module /usr/local/opt/php@5.6/lib/httpd/modules/libphp5.so
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>