Official site: https://phpbrew.github.io/phpbrew/
Disable OSX SIP : http://bit.ly/1OqC4hP
brew link icu4c –force
sudo LDFLAGS=’/usr/local/opt/openssl/lib/libssl.dylib /usr/local/opt/openssl/lib/libcrypto.dylib’ phpbrew install 5.6.15 +openssl +mysql +pdo +apxs2 +mcrypt +ctype +hash +json +curl +mbstring +intl +gettext — –with-openssl=/usr/local/opt/openssl