首页 > 代码库 > PHP Fatal error: Call to undefined function mb_substr()

PHP Fatal error: Call to undefined function mb_substr()

Lamp架构  PHP 5.3.29

 

#查看php是否有mbstring模块

php -m | grep mbstring

 

yum install php-mbstring -y

 

find / -name mbstring.so

 

vim php.ini

  extension = "/usr/lib64/php/modules/mbstring.so"

 

apachectl -k restart

PHP Fatal error: Call to undefined function mb_substr()