If you're seeing this problem in your browser after trying to do a new set up of phpMyAdmin to Windows 7 IIS...
PHP Fatal error: Uncaught Error: Call to undefined function mb_detect_encoding() in C:\inetpub\wwwroot\phpmyadmin46\libraries\php-gettext\gettext.inc:177
Stack trace:
#0 C:\inetpub\wwwroot\phpmyadmin46\libraries\php-gettext\gettext.inc(282): _encode('The %s extensio...')
#1 C:\inetpub\wwwroot\phpmyadmin46\libraries\php-gettext\gettext.inc(289): _gettext('The %s extensio...')
#2 C:\inetpub\wwwroot\phpmyadmin46\libraries\core.lib.php(306): __('The %s extensio...')
#3 C:\inetpub\wwwroot\phpmyadmin46\libraries\core.lib.php(957): PMA_warnMissingExtension('mbstring', true)
#4 C:\inetpub\wwwroot\phpmyadmin46\libraries\common.inc.php(102): PMA_checkExtensions()
#5 C:\inetpub\wwwroot\phpmyadmin46\setup\lib\common.inc.php(22): require_once('C:\\inetpub\\wwwr...')
#6 C:\inetpub\wwwroot\phpmyadmin46\setup\index.php(13): require('C:\\inetpub\\wwwr...')
#7 {main}
thrown in C:\inetpub\wwwroot\phpmyadmin46\libraries\php-gettext\gettext.inc on line 177
... this solution can help you.
1. Open php.ini in your PHP folder.
2. Find the extension below and uncomment (remove the ;)
;extension=php_mbstring.dll ----> change this to extension=php_mbstring.dll
3. If you want, although not necessary, you can default the mbstring language setting to English. Just find the mbstring.language = and change it to mbstring.language = English.
PHP Fatal error: Uncaught Error: Call to undefined function mb_detect_encoding() in C:\inetpub\wwwroot\phpmyadmin46\libraries\php-gettext\gettext.inc:177
Stack trace:
#0 C:\inetpub\wwwroot\phpmyadmin46\libraries\php-gettext\gettext.inc(282): _encode('The %s extensio...')
#1 C:\inetpub\wwwroot\phpmyadmin46\libraries\php-gettext\gettext.inc(289): _gettext('The %s extensio...')
#2 C:\inetpub\wwwroot\phpmyadmin46\libraries\core.lib.php(306): __('The %s extensio...')
#3 C:\inetpub\wwwroot\phpmyadmin46\libraries\core.lib.php(957): PMA_warnMissingExtension('mbstring', true)
#4 C:\inetpub\wwwroot\phpmyadmin46\libraries\common.inc.php(102): PMA_checkExtensions()
#5 C:\inetpub\wwwroot\phpmyadmin46\setup\lib\common.inc.php(22): require_once('C:\\inetpub\\wwwr...')
#6 C:\inetpub\wwwroot\phpmyadmin46\setup\index.php(13): require('C:\\inetpub\\wwwr...')
#7 {main}
thrown in C:\inetpub\wwwroot\phpmyadmin46\libraries\php-gettext\gettext.inc on line 177
... this solution can help you.
1. Open php.ini in your PHP folder.
2. Find the extension below and uncomment (remove the ;)
;extension=php_mbstring.dll ----> change this to extension=php_mbstring.dll
3. If you want, although not necessary, you can default the mbstring language setting to English. Just find the mbstring.language = and change it to mbstring.language = English.