php config when compile
./configure --prefix=$HOME/.php/5.6 --with-pear --with-gd --with-imap-ssl --enable-sockets --with-jpeg-dir=$HOME/.php/dependencies/libjpeg --with-png-dir=$HOME/.php/dependencies/libpng --enable-exif --enable-zip --with-bz2 --with-freetype-dir=$HOME/.php/dependencies/freetype --with-zlib --with-openssl-dir=`brew --prefix openssl` --with-mcrypt=$HOME/.php/dependencies/libmcrypt --enable-soap --enable-xmlreader --with-xsl --enable-ftp --enable-cgi --with-curl --with-tidy --with-xmlrpc --enable-sysvsem --enable-sysvshm --enable-shmop --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-pdo-sqlite --with-pdo-pgsql --with-pgsql --enable-pcntl --with-libedit --enable-mbstring --disable-debug --enable-bcmath