The mbstring is missing - NGINX PHPMYADMIN PHP 7.0.23 CENTOS 7

-1

How can I resolve this error, since I am using php7, and can not download this extension. php 7.0.23 Nginx Centos 7

    
asked by anonymous 25.09.2017 / 17:42

2 answers

1

I think that in CentOS it would be enough to type:

  

Warning: Use this only if you have installed php via the official repository, otherwise ignore this step

yum install php-mbstring

However if it is installed or you are not using PHP via official repository , but adding via rpm or using Xampp or something else then it is usually already installed, so just enable on % with% removing% with%, open php.ini and look for a line like this:

;extension=mbstring.so

And then removing the semicolon ( php.ini ) should look like this:

extension=mbstring.so

After this restart Apache or Xampp or Wamp (or whatever the type of installation you did), if it is Apache installed via repository type this in the terminal:

apachectl restart

Or:

/sbin/service httpd restart

If it is Xampp I think it will be something like (usually installed in ; ):

/opt/lampp/lampp stop
/opt/lampp/lampp start

Or maybe restart (I can not tell if lampp has restart):

/opt/lampp/lampp restart
    
25.09.2017 / 17:52
-1

Thank you very much for the response. When installing yum install php-mbstring, it displays installation error, conflicting with my php7.0.23 I'm using php-fpm, in the centos. and my php.ini does not have these options.

    
25.09.2017 / 20:17