php安装mbstring扩展

系统:Ubuntu16.04

PHP版本:5.6

过程:php在configure时,增加-enable-mbstring,例如:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-curl --with-gd --with-mcrypt --with-openssl --with-zlib -enable-mbstring

在phpinfo中,出现mbstring模块,即安装成功,如图:


注:如果在php.ini中添加extension=mbstring.so这句话,可能会提示mbstring重复加载

你可能感兴趣的:(php,扩展)