首页 > 代码库 > Linux环境下安装PHP的mbstring模块

Linux环境下安装PHP的mbstring模块

cd /usr/src/php-5.3.6/ext/mbstring
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config
make && make install
修改/usr/local/php/lib/php.ini 添加:extension=mbstring.so
/usr/local/apache2/bin/apachectl restart

Linux环境下安装PHP的mbstring模块