Unable to call the built in mb_internal_encoding method?

前端 未结 6 592
故里飘歌
故里飘歌 2020-12-16 09:31

I\'m trying to install indefero on a CentOS 5.3 VMware \'box\' and I ran into a problem. Quite early in the installation I get an error that I\'ve been able to narrow down t

相关标签:
6条回答
  • 2020-12-16 10:04

    If someone is having trouble with installing php-mbstring package in ubuntu do following sudo apt-get install libapache2-mod-php5

    0 讨论(0)
  • 2020-12-16 10:13

    For OpenSUse (zypper package manager):

    zypper install php5-mbstring
    

    and:

    zyper install php7-mbstring
    

    In the other hand, you can search them through YaST Software manager.

    Note that, you must restart apache http server:

    systemctl restart apache2.service
    
    0 讨论(0)
  • 2020-12-16 10:16

    If you don't know how to enable php_mbstring extension in windows, open your php.ini and remove the semicolon before the extension:

    change this

    ;extension=php_mbstring.dll
    

    to this

    extension=php_mbstring.dll
    

    after modification, you need to reset your php server.

    0 讨论(0)
  • 2020-12-16 10:22

    For Debian/Ubuntu:

    sudo apt-get install php7.0-mbstring

    0 讨论(0)
  • 2020-12-16 10:28

    mbstring is a "non-default" extension, that is not enabled by default ; see this page of the manual :

    Installation

    mbstring is a non-default extension. This means it is not enabled by default. You must explicitly enable the module with the configure option. See the Install section for details

    So, you might have to enable that extension, modifying the php.ini file (and restarting Apache, so your modification is taken into account)


    I don't use CentOS, but you may have to install the extension first, using something like this (see this page, for instance, which seems to give a solution) :

    yum install php-mbstring
    

    (The package name might be a bit different ; so, use yum search to get it :-) )

    0 讨论(0)
  • 2020-12-16 10:28

    apt-get install php7.3-mbstring solved the issue on ubuntu, php version is php-fpm 7.3

    0 讨论(0)
提交回复
热议问题