mb_convert_encoding, undefined function while mbstring is enabled

前端 未结 3 1234
情深已故
情深已故 2020-12-17 08:11

I have a server (Ubuntu 11.10 x64) running PHP 5.3.8 with Apache2 / MySQL. I\'m currently working on a project where I\'m required to do some specific character encoding, bu

3条回答
  •  猫巷女王i
    2020-12-17 08:29

    In the case of your installation is php5.6 is similar to solution of neilsimp1:

    Running sudo apt-get install php7.0-mbstring and then sudo service php7.0-fpm restart did the trick for me.

    sudo apt-get install php5.6-mbstring
    

    and then restart apache service

    sudo service apache2 restart.
    

提交回复
热议问题