Whenever I try to access phpMyAdmin, I receive the following error:
"The mbstring extension is missing. Please check your PHP configuration."
I am running a LEMP stack on a CentOS 7 server. I have elected to use PHP 7 for this installation. I have not experienced this error on identical set-ups running earlier versions of PHP.
extension_loaded('mbstring')
returns false even though mbstring.ini (/etc/php.d/) contains:
; Enable mbstring extension module extension=mbstring.so
I am 100% sure that the mbstring module is installed on my server.
I'm completely stumped so if anyone has any ideas whatsoever, please let me know. Thanks.
You can check it through phpinfo(). Search for the string "mbstring" in phpinfo page. If it is present means then mbstring is enabled or it is disabled.
For those who have debian :
sudo apt-get install php7.0-mbstring
Otherwise in centos (tested in centos 6.6)
sudo yum install php70w-mbstring
and as @mpen said you can activate it
sudo phpenmod mbstring
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With