Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

phpMyAdmin mbstring error

Whenever I try to enter my phpMyAdmin, it gives me this error:

The mbstring extension is missing. Please check your PHP configuration. 

I've looked all over the Internet for a fix, but all I've found is errors similar to mine, but not the same, or the exact same but there was no fix given.

I am also using Windows.

like image 735
user1930852 Avatar asked Sep 03 '13 18:09

user1930852


People also ask

What is Mbstring PHP extension?

Mbstring is an extension of php used to manage non-ASCII strings. Mbstring is used to convert strings to different encodings. Multibyte character encoding schemes are used to express more than 256 characters in the regular byte wise coding system.

How to check if mbstring is installed php?

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.


2 Answers

In Centos I have installed a php extension. I did this with:

yum install php-mbstring 
like image 65
Arjang Avatar answered Sep 20 '22 00:09

Arjang


Before sometime I also had the same problem. I have tried replacing the .dll file but no result. After some debugging I found the solution.

I had this in my php.ini file:

extension_dir = "ext"

And I'm getting mbstring extension missing error. So I tried putting the full path for the extension directory and it works for me. like:

extension_dir = "C:\php\ext"

Hope this will help.

Cheers,

like image 23
PHP Mentor Avatar answered Sep 23 '22 00:09

PHP Mentor