$ brew install autoconf automake bison27 gd freetype t1lib mariadb gettext zlib mcrypt
curl -L https://github.com/php/php-src/pull/685.diff | patch -p1
$ brew install autoconf automake bison27 gd freetype t1lib mariadb gettext zlib mcrypt
curl -L https://github.com/php/php-src/pull/685.diff | patch -p1