解决mac下手动编译安装php7.1的iconv扩展报错:'ext/standard/php<em>smart</em>str.h' file not found
因为我本地有多个版本的php,安装扩展`make`时,我没有指定`--with-php-config`,所以报了这个错,So,完整的编译过程: ```sh cd ext/iconv /data/amp/php/5.6.40/bin/phpize ./configure --with-iconv=/usr/local/Cellar/libiconv/1.16/ --with-php-config=/data/amp/php/5.6.40/bin/php-config make make install ```