• <i id='p5qeX'><tr id='p5qeX'><dt id='p5qeX'><q id='p5qeX'><span id='p5qeX'><b id='p5qeX'><form id='p5qeX'><ins id='p5qeX'></ins><ul id='p5qeX'></ul><sub id='p5qeX'></sub></form><legend id='p5qeX'></legend><bdo id='p5qeX'><pre id='p5qeX'><center id='p5qeX'></center></pre></bdo></b><th id='p5qeX'></th></span></q></dt></tr></i><div id='p5qeX'><tfoot id='p5qeX'></tfoot><dl id='p5qeX'><fieldset id='p5qeX'></fieldset></dl></div>
      <bdo id='p5qeX'></bdo><ul id='p5qeX'></ul>

    <tfoot id='p5qeX'></tfoot>

      <legend id='p5qeX'><style id='p5qeX'><dir id='p5qeX'><q id='p5qeX'></q></dir></style></legend>

      <small id='p5qeX'></small><noframes id='p5qeX'>

        尝试访问 phpmyadmin mb_detect_encoding 时出现 PHP 致命错误

        PHP Fatal error when trying to access phpmyadmin mb_detect_encoding(尝试访问 phpmyadmin mb_detect_encoding 时出现 PHP 致命错误)
      1. <tfoot id='2SsKa'></tfoot>

          <small id='2SsKa'></small><noframes id='2SsKa'>

            <tbody id='2SsKa'></tbody>
          • <bdo id='2SsKa'></bdo><ul id='2SsKa'></ul>
          • <i id='2SsKa'><tr id='2SsKa'><dt id='2SsKa'><q id='2SsKa'><span id='2SsKa'><b id='2SsKa'><form id='2SsKa'><ins id='2SsKa'></ins><ul id='2SsKa'></ul><sub id='2SsKa'></sub></form><legend id='2SsKa'></legend><bdo id='2SsKa'><pre id='2SsKa'><center id='2SsKa'></center></pre></bdo></b><th id='2SsKa'></th></span></q></dt></tr></i><div id='2SsKa'><tfoot id='2SsKa'></tfoot><dl id='2SsKa'><fieldset id='2SsKa'></fieldset></dl></div>

                <legend id='2SsKa'><style id='2SsKa'><dir id='2SsKa'><q id='2SsKa'></q></dir></style></legend>

                  本文介绍了尝试访问 phpmyadmin mb_detect_encoding 时出现 PHP 致命错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  不确定发生了什么,但以下是尝试访问 phpmyadmin 时日志给我的内容,请帮助.试图调试一个不同的问题并遇到了这个问题.真的不可能恢复到它工作的时候.

                  Not sure what happened, but below is what the log is giving me when trying to access phpmyadmin, please help. Trying to debug a different problem and ran into this. Not really possible to revert back to when it was working.

                  PHP 致命错误:调用未定义的函数 mb_detect_encoding()/usr/share/php/gettext/gettext.inc 在第 177 行

                  PHP Fatal error: Call to undefined function mb_detect_encoding() in /usr/share/php/gettext/gettext.inc on line 177

                  尝试访问该站点时,出现此错误,我认为这两个错误可能相关:

                  When trying to go the the site, I get this error, I think it's likely the two errors are related:

                  数据库连接错误 (1):MySQL 适配器 'mysqli' 不可用.

                  Database connection error (1): The MySQL adapter 'mysqli' is not available.

                  推荐答案

                  第一个错误是由 php 引起的,因为扩展 mbstring 未安装或未激活.

                  First error is caused by php because the extension mbstring is either not installed or not active.

                  第二个错误是 phpMyAdmin/您的站点的输出,要求您安装/启用 mysqli 扩展.

                  The second error is output of phpMyAdmin/your site asking you to install / enable the mysqli extension.

                  要启用 mbstring 和 mysqli,请编辑您的 php.ini 并在 unix 上使用 mbstring.so 和 mysqli.so 或在 Windows 上使用 mbstring.dll 和 mysqli.dll 添加/取消注释这两行

                  To enable mbstring and mysqli edit your php.ini and add/uncomment the two lines with mbstring.so and mysqli.so on unix or mbstring.dll and mysqli.dll on windows

                  Unix/etc/(phpX/)php.ini

                  Unix /etc/(phpX/)php.ini

                  extension=mysqli.so
                  extension=mbstring.so
                  

                  Windows PHP 安装文件夹etcphp.ini

                  Windows PHP installation folderetcphp.ini

                  extension=mysqli.dll
                  extension=mbstring.dll
                  

                  不要忘记在此之后重新启动您的网络服务器.

                  Don't forget to restart your webserver after this.

                  用户在评论中补充说他使用的是 redhat 所以这里是你如何在所有基于 CentOS/Fedora/RedHat/Yum 的 Linux 发行版上安装扩展

                  User added he was using redhat in the comments so here's how you install extensions on all CentOS/Fedora/RedHat/Yum based linux distros

                  sudo yum install php-mysqli
                  sudo yum install php-mbstring
                  
                  restart your werbserver
                  sudo /etc/init.d/httpd restart
                  

                  您可以使用文档根目录中的一个小 php 脚本来验证您的安装.这列出了您为 php 安装的所有设置、版本和活动扩展

                  you can verify your installation with a little php script in your document root. This lists all settings, versions and active extensions you've installed for php

                  test.php

                  <?php
                  phpinfo();
                  

                  这篇关于尝试访问 phpmyadmin mb_detect_encoding 时出现 PHP 致命错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)

                  <small id='qXEmM'></small><noframes id='qXEmM'>

                  <tfoot id='qXEmM'></tfoot>

                    <bdo id='qXEmM'></bdo><ul id='qXEmM'></ul>
                      <tbody id='qXEmM'></tbody>
                  • <legend id='qXEmM'><style id='qXEmM'><dir id='qXEmM'><q id='qXEmM'></q></dir></style></legend>
                    <i id='qXEmM'><tr id='qXEmM'><dt id='qXEmM'><q id='qXEmM'><span id='qXEmM'><b id='qXEmM'><form id='qXEmM'><ins id='qXEmM'></ins><ul id='qXEmM'></ul><sub id='qXEmM'></sub></form><legend id='qXEmM'></legend><bdo id='qXEmM'><pre id='qXEmM'><center id='qXEmM'></center></pre></bdo></b><th id='qXEmM'></th></span></q></dt></tr></i><div id='qXEmM'><tfoot id='qXEmM'></tfoot><dl id='qXEmM'><fieldset id='qXEmM'></fieldset></dl></div>