Fatal Error: Call to Undefined Function Mb_Detect_Encoding()

Fatal error: Call to undefined function mb_detect_encoding()

Install the gd library also.

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

Fatal error: Uncaught Error: Call to undefined function mb_detect_encoding() in Uniform Server with PHP 7.2

The developer of Uniform Server managed to fix the problem, saying so in this post.

Ok.. Thanks for bringing this up.. Looks like made a mistake on the spelling on the extensions folder. Please rename the /core/php72/extentions to /core/php72/extensions and everything should work as expected.. I have updated the module in Sourceforge.

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

The issue was caused by some of the extensions being blocked and the extension directory not being fully set.

In the php.ini file extension_dir= needs to be set to "C:\php\ext" or whereever the php ext file is located. Also the following extensions need to be uncommented in the php.ini file as well

extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_exif.dll
extension=php_mysqli.dll

Another thing that helps is to go in to the php\ext folder, right click on each of the above exts and select unblock and make sure they are not set to read-only.

Fatal error: Uncaught Error: Call to undefined function mb_detect_encoding()

I've heard that Apache2.4 has some problems with PHPINIDir. So try to add PHPIniDir "C:\PHP" in http.conf

Fatal error: Call to undefined function mb_detect_encoding() in C:\Users\Jarek\mywebsite\phpMyAdmin\libraries\php-gettext\gettext.inc on line 177

Try adding these extensions in the PHP.ini

extension=php_mbstring.dll
extension=php_gettext.dll
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_pdo_mysql.dll

Also check whether the PHP folder exists in the PATH.



Related Topics



Leave a reply



Submit