-1
I think in Centos just type:
Heed: use this only if you have installed php via official repository, otherwise ignore this step
yum install php-mbstring
However if you are installed or you are not using PHP via official repository, but adding via rpm
or using Xampp or other kind of thing so it usually comes already installed so just enable in php.ini
removing the ;
, open php.ini and look for a line like this:
;extension=mbstring.so
And then removing the semicolon (;
) should look like this:
extension=mbstring.so
After this restart Apache or Xampp or Wamp (or whatever type of installation you did), if you are 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
):
/opt/lampp/lampp stop
/opt/lampp/lampp start
Or maybe Restart (I don’t know if lampp has Restart):
/opt/lampp/lampp restart