Title rewritten to read: Fatal error: Call to undefined function mb_detect_encoding()
P粉055726146
P粉055726146 2023-08-29 13:16:17
0
2
573
<p>I received this error after trying to set up LAMP following this tutorial and found myself getting the above error after trying to set up phpmyadmin. </p> <blockquote> <p>Fatal error: Call to undefined function mb_detect_encoding() C:WebServerApachehtdocsphpmyadminlibrariesphp-gettextgettext.inc At line 177</p> </blockquote> <p>I followed the advice here: PHP fatal error while trying to access phpmyadmin mb_detect_encoding and made these changes. </p> <p>When I run <code>phpinfo()</code> I see that support for MySQL and <code>mb_string</code> is enabled like this: </p>
P粉055726146
P粉055726146

reply all(2)
P粉722409996

There are easier ways than recompiling PHP. Just yum install the required mbstring library:

Example:How to install PHP mbstring on CentOS 6.2

yum --enablerepo=remi install php-mbstring

Oh, don’t forget to restart apache afterward.

P粉063862561

Also install the gd library.

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template