Fatal error: Call to undefined function mb_detect_encoding()

Louis93 picture Louis93 · Jun 20, 2013 · Viewed 169.6k times · Source

I receive this error after trying to set up LAMP by following this tutorial, and I find myself receiving the above error after trying to set up phpmyadmin.

Fatal error: Call to undefined function mb_detect_encoding() in C:\WebServer\Apache\htdocs\phpmyadmin\libraries\php-gettext\gettext.inc on line 177

I followed the advice over here: PHP Fatal error when trying to access phpmyadmin mb_detect_encoding, and made those changes.

When I run phpinfo(), I see that support for MySQL and mb_string are enabled as shown below:

mb_string

MySQL

mysqli

Answer

Jibu K picture Jibu K · Jun 20, 2013

Install the gd library also.

check this link http://www.php.net/manual/en/mbstring.installation.php