进入扩展源码目录:
cd php-5.5.8/ext/intl
依次运行:
phpize ./configure
configure 这步会出错:
configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install prefix and make sure icu-config works.
解决方法如下:
首先安装 icu4c:
brew install icu4c
然后:
./configure --with-icu-dir=/usr/local/opt/icu4c
接下来:
make && make install
大功告成!
呵呵,头几天刚编译安装了soap