执行
#/usr/local/php/php -v
出现
Warning: PHP Startup: Invalid library (maybe not a PHP library) ‘iconv.so’ in Unknown on line 0
错误.
解决办法:
./configure –with-iconv –with-php-config=/root/php/bin/php-config make &&make install
编译后再尝试
模块正常加载
执行
#/usr/local/php/php -v
出现
Warning: PHP Startup: Invalid library (maybe not a PHP library) ‘iconv.so’ in Unknown on line 0
错误.
解决办法:
./configure –with-iconv –with-php-config=/root/php/bin/php-config make &&make install
编译后再尝试
模块正常加载