Fatal error: Call to undefined function mb_strtolower()

前端 未结 4 759
终归单人心
终归单人心 2020-12-18 23:52

i have a vps server i installed nginx + php-fpm now i have a problem with mb_strtolower() function this is my php info pleas goto this adress to see my php info

         


        
4条回答
  •  没有蜡笔的小新
    2020-12-19 00:01

    Building on the answers from Phil Rykoff and omeinusch: this is my configure line to build php from source to support reportico 3.2 on php 5.4.43 / Centos 7.1.1503

    /configure --with-apxs2=/opt2/canal/apache/bin/apxs --with-mysql
    --with-pdo-mysql --prefix=/opt2/canal/php --enable-mbstring --with-gd
    

    --enable-mbstring is pertinent to this question.
    (--with-gd required from image handling (also needed yum install libpng-devel to avoid missing png.h message))

    Then needed to set the following in php.ini:

    zend.multibyte = On
    

提交回复
热议问题