I tried to manually install latest version of Apache,PHP7 with MariaDB on a Windows 10 machine, and when i try to run latest phpmyadmin setup script, it return:
Fatal error: Uncaught Error: Call to undefined function mb_detect_encoding() in C:\Server\Web\phpmyadmin\libraries\php-gettext\gettext.inc:177 Stack trace:
#0 C:\Server\Web\phpmyadmin\libraries\php-gettext\gettext.inc(282): _encode('The %s extensio...')
#1 C:\Server\Web\phpmyadmin\libraries\php-gettext\gettext.inc(289): _gettext('The %s extensio...')
#2 C:\Server\Web\phpmyadmin\libraries\core.lib.php(306): __('The %s extensio...')
#3 C:\Server\Web\phpmyadmin\libraries\core.lib.php(961): PMA_warnMissingExtension('mbstring', true)
#4 C:\Server\Web\phpmyadmin\libraries\common.inc.php(102): PMA_checkExtensions()
#5 C:\Server\Web\phpmyadmin\index.php(13): require_once('C:\\Server\\Web\\p...')
#6 {main} thrown in C:\Server\Web\phpmyadmin\libraries\php-gettext\gettext.inc on line 177
答案 0 :(得分:0)
It is wamp, I am sure you must be having mbstring
library, just make sure extension=php_mbstring.dll
is not commented in your php.ini
答案 1 :(得分:0)
You need to install or enable the php-mbstring
library.
Have a look at the phpinfo()
and check if that module is enabled. After installing / enabling it make sure the Apache service is restarted.
mbstring
Multibyte Support => enabled
Multibyte string engine => libmbfl
HTTP input encoding translation => disabled
libmbfl version => 1.3.2 oniguruma version => 5.9.6
答案 2 :(得分:0)
I found the problem, it seems the
extension_dir = "ext"
isn't conffigured corectly now it's working :D Thanks!