Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fatal error: Call to undefined function mb_detect_encoding()

Tags:

php

mbstring

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

like image 869
Louis93 Avatar asked Jun 20 '13 02:06

Louis93


People also ask

What is fatal error call to undefined function?

Fatal Error: 'Call to undefined function mysql_connect()' If you get an error like Fatal error: Call to undefined function mysql_connect() when trying to install GFI HelpDesk, it probably means that MySQL support has not been enabled for PHP on your server (that is, the PHP module php-mysql has not been installed).


1 Answers

Install the gd library also.

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

like image 69
Jibu K Avatar answered Oct 20 '22 12:10

Jibu K