简体   繁体   English

PhpMyAdmin,PHP7,MariaDB10,Apache2.4,Windows 10

[英]PhpMyAdmin, PHP7, MariaDB10, Apache2.4, Windows 10

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: 我试图在Windows 10计算机上手动安装带有MariaDB的Apache,PHP7的最新版本,并且当我尝试运行最新的phpmyadmin安装脚本时,它返回:

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

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 这是沼泽,我确定您必须拥有mbstring库,只需确保在您的php.ini未注释extension=php_mbstring.dll

在此处输入图片说明

You need to install or enable the php-mbstring library. 您需要安装或启用php-mbstring库。

Have a look at the phpinfo() and check if that module is enabled. 看一下phpinfo()并检查是否启用了该模块。 After installing / enabling it make sure the Apache service is restarted. 安装/启用后,请确保重新启动Apache服务。

mbstring

Multibyte Support => enabled 
Multibyte string engine => libmbfl 
HTTP input encoding translation => disabled 
libmbfl version => 1.3.2 oniguruma version => 5.9.6

http://php.net/manual/it/install.windows.extensions.php http://php.net/manual/it/install.windows.extensions.php

I found the problem, it seems the 我发现了问题,看来

extension_dir = "ext" extension_dir =“ ext”

isn't conffigured corectly now it's working :D Thanks! 暂时没有配置,它正在工作:D谢谢!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM