[英]“Fatal Error: Call to undefined function mb_detect_encoding()” when trying to run phpMyAdmin 4.2.7 on IIS 8 with PHP 5.4.30
I have PHP 5.4.30 installed and running well using the FastCGI module and IIS 8 (on Windows 8.1). 我安装了PHP 5.4.30,并使用FastCGI模块和IIS 8(在Windows 8.1上)运行良好。 I have MySQL installed and would like to manage it with phpMyAdmin, however, I get this error whenever I try to access the page: 我已经安装了MySQL,并希望使用phpMyAdmin对其进行管理,但是,每当尝试访问该页面时,都会出现此错误:
Fatal error: Call to undefined function mb_detect_encoding() in C:\inetpub\wwwroot\phpmyadmin\libraries\php-gettext\gettext.inc on line 177
Many older threads I have seen suggest adding extensions to the php.ini, but in the later versions of php, the php.ini
file becomes php.ini-production
and php.ini-development
. 我见过许多较旧的线程建议将扩展名添加到php.ini中,但是在更高版本的php中, php.ini
文件变为php.ini-production
和php.ini-development
。 Whenever I try to modify either of these files or create a php.ini file, I get an error 500 when trying to visit other php pages. 每当我尝试修改这些文件中的任何一个或创建php.ini文件时,尝试访问其他php页面时都会收到错误500。 I have also seen many solutions related to Xampp / Apache, but none of them seem to work in IIS 8 (that I have found). 我还看到了许多与Xampp / Apache相关的解决方案,但是它们似乎都无法在IIS 8中工作(我发现)。
Thanks in advance for any suggestions! 在此先感谢您的任何建议!
You probably need the php_mbstring.dll file installed. 您可能需要安装php_mbstring.dll文件。 You can find it on the PHP Windows Extensions page 您可以在“ PHP Windows扩展”页面上找到它
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.