cd /home/local/php-5.6.25/ext/mbstring
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config
make && make install
修改/usr/local/php/etc/php.ini 添加:extension=mbstring.so
/usr/local/apache/bin/apachectl restart
转载于:https://www.cnblogs.com/ttiandeng/p/6561162.html