简体   繁体   English

致命错误:在第177行上的C:\\ Users \\ Jarek \\ mywebsite \\ phpMyAdmin \\ libraries \\ php-gettext \\ gettext.inc中调用未定义函数mb_detect_encoding()

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

I am trying to set up phpMyAdmin, and i was following this site , but i got an error about "Fatal error: Call to undefined function mb_detect_encoding() in C:\\Users\\Jarek\\mywebsite\\phpMyAdmin\\libraries\\php-gettext\\gettext.inc on line 177", and i searched this error online, Most of suggestion are uncommon some lines in php.ini, but it didn't work for me. 我正在尝试设置phpMyAdmin,并且正在关注此站点 ,但我收到有关“致命错误:在C:\\ Users \\ Jarek \\ mywebsite \\ phpMyAdmin \\ libraries \\ php-gettext \\中调用未定义函数mb_detect_encoding()的错误gettext.inc在第177行上”,我在网上搜索了此错误,大多数建议在php.ini中有些行并不常见,但这对我不起作用。 This is the site tell you how to solve problem with this error. 该站点告诉您如何解决此错误的问题。 solve 1 solve 2 解决1 解决2

php.ini is in my php folder which is located in c diver. php.ini在我的php文件夹中,它位于c diver中。 在此处输入图片说明

prompt command to check path 提示命令检查路径 在此处输入图片说明

Every time i changed config, i also did restart apache. 每次更改配置时,我也都会重新启动apache。

这是我不寻常的地方

I also tried to write some piece of code of php as below: 我还尝试编写如下的php代码:

 $con=mysqli_connect("127.0.0.1","root","xxxxxxx","morris_db");
 if (mysqli_connect_errno()) {
 echo "Failed to connect to MySQL: " . mysqli_connect_error();
 }

and open my browser, and type localhost/index.php, it shows me an error about "Fatal error: Call to undefined function mysqli_connect() in C:\\Users\\Jarek\\mywebsite\\index.php on line 8" 并打开我的浏览器,然后键入localhost / index.php,它向我显示有关“致命错误:在第8行的C:\\ Users \\ Jarek \\ mywebsite \\ index.php中调用未定义函数mysqli_connect()的错误”

Try adding these extensions in the PHP.ini 尝试在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. 还要检查PATH中是否存在PHP文件夹。

暂无
暂无

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

相关问题 致命错误:在第177行的C:\\ apache \\ htdocs \\ phpmyadmin \\ libraries \\ php-gettext \\ gettext.inc中调用未定义的函数mb_detect_encoding() - Fatal error: Call to undefined function mb_detect_encoding() in C:\apache\htdocs\phpmyadmin\libraries\php-gettext\gettext.inc on line 177 在Windows 10上运行wamp,启动phpmyadmin会引发错误:致命错误:调用未定义函数mb_detect_encoding() - wamp on windows 10, Starting phpmyadmin throws an error: Fatal error: Call to undefined function mb_detect_encoding() 尝试在带有PHP 5.4.30的IIS 8上运行phpMyAdmin 4.2.7时出现“致命错误:调用未定义的函数mb_detect_encoding()” - “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 致命错误:调用未定义函数mb_detect_encoding() - Fatal error: Call to undefined function mb_detect_encoding() in 致命错误:在Windows中调用未定义的函数mb_detect_encoding() - Fatal error: Call to undefined function mb_detect_encoding() in windows 致命错误:调用未定义的 function mb_detect_encoding() - Fatal error: Call to undefined function mb_detect_encoding() 致命错误:未捕获错误:使用 PHP 7.2 在 Uniform Server 中调用未定义的函数 mb_detect_encoding() - Fatal error: Uncaught Error: Call to undefined function mb_detect_encoding() in Uniform Server with PHP 7.2 更改PHP版本(PHPmyadmin)后,在Xampp中调用未定义的函数mb_detect_encoding() - Call to undefined function mb_detect_encoding() in Xampp after changing PHP version (PHPmyadmin) PhpMyAdmin错误500 PHP-GETTEXT - PhpMyAdmin Error 500 PHP-GETTEXT 致命错误:未捕获错误:调用未定义函数mb_detect_encoding() - Fatal error: Uncaught Error: Call to undefined function mb_detect_encoding()
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM