phpenv派です(anyenvで統一できるから)。
とうとうPHP7の世界にはいりました。
消えるといけないのでQiitaにメモ。
$ YACC="$(brew --prefix bison27)/bin/bison" CONFIGURE_OPTS="--disable-dba --disable-fpm --enable-bcmath --enable-calendar --enable-cgi --enable-ctype --enable-dom --enable-exif --enable-fileinfo --enable-ftp --enable-gd-native-ttf --enable-gd-jis-conv --enable-hash --enable-intl --with-icu-dir=$(brew --prefix icu4c) --enable-json --enable-mbregex --enable-mbstring --enable-pcntl --enable-phar --enable-shmop --enable-simplexml --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-tokenizer --enable-wddx --enable-zip --with-bz2 --with-curl --with-enchant --with-gd --with-gettext --with-gmp --with-kerberos --with-layout=GNU --with-mhash=yes --with-onig --with-pcre-regex --with-pear --with-pic --with-png-dir --with-xmlrpc --with-zlib --with-zlib-dir --without-mm --with-mcrypt --enable-opcache --with-iconv=$(brew --prefix libiconv) --with-libxml-dir=$(brew --prefix libxml2) --with-openssl=$(brew --prefix openssl) --with-pgsql=$(brew --prefix postgresql) --with-pdo-pgsql=$(brew --prefix postgresql) --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd" phpenv install 7.1.6
PHP5.6.28版は こちら