phpize
./configure --enable-intl --with-icu-dir=/usr/local/Cellar/icu4c/56.1/ --with-php-config=/usr/local/php-5.6.16/bin/php-config
make
./configure --enable-intl --with-icu-dir=/usr/local/Cellar/icu4c/56.1/ --with-php-config=/usr/local/php-5.6.16/bin/php-config
make
make install
编辑php.ini添加intl.so扩展