• <tfoot id='NxuBy'></tfoot>
      <bdo id='NxuBy'></bdo><ul id='NxuBy'></ul>
  • <legend id='NxuBy'><style id='NxuBy'><dir id='NxuBy'><q id='NxuBy'></q></dir></style></legend>

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

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

      1. 在某个域上安装phpmyadmin后内部服务器错误(HTTP Error 500)

        时间:2023-10-11

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

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

                • <bdo id='GszBp'></bdo><ul id='GszBp'></ul>
                • 本文介绍了在某个域上安装phpmyadmin后内部服务器错误(HTTP Error 500)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  在某个域上安装 phpmyadmin 后,我收到内部服务器错误(HTTP 错误 500).

                  I'm getting internal server error (HTTP Error 500) after installing phpmyadmin on a certain domain.

                  这是我的 config.inc.php 文件当前读取的内容.

                  This is what my config.inc.php file currently reads.

                  <?php
                  /* vim: set expandtab sw=4 ts=4 sts=4: */
                  /**
                   * phpMyAdmin sample configuration, you can use it as base for
                   * manual configuration. For easier setup you can use setup/
                   *
                   * All directives are explained in documentation in the doc/ folder
                   * or at <http://docs.phpmyadmin.net/>.
                   *
                   * @package PhpMyAdmin
                   */
                  
                  /*
                   * This is needed for cookie based authentication to encrypt password in
                   * cookie
                   */
                  $cfg['blowfish_secret'] = 'a8b7c6d'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
                  /*
                   * Servers configuration
                   */
                  $i = 0;
                  
                  /*
                   * First server
                   */
                  $i++;
                  /* Authentication type */
                  $cfg['Servers'][$i]['auth_type'] = 'cookie';
                  /* Server parameters */
                  $cfg['Servers'][$i]['host'] = 'localhost';
                  $cfg['Servers'][$i]['connect_type'] = 'tcp';
                  $cfg['Servers'][$i]['compress'] = false;
                  /* Select mysql if your server does not have mysqli */
                  $cfg['Servers'][$i]['extension'] = 'mysqli';
                  $cfg['Servers'][$i]['AllowNoPassword'] = false;
                  
                  /*
                   * phpMyAdmin configuration storage settings.
                   */
                  
                  /* User used to manipulate with storage */
                  // $cfg['Servers'][$i]['controlhost'] = '';
                  // $cfg['Servers'][$i]['controlport'] = '';
                  // $cfg['Servers'][$i]['controluser'] = 'pma';
                  // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
                  
                  /* Storage database and tables */
                  // $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
                  // $cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
                  // $cfg['Servers'][$i]['relation'] = 'pma__relation';
                  // $cfg['Servers'][$i]['table_info'] = 'pma__table_info';
                  // $cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';
                  // $cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';
                  // $cfg['Servers'][$i]['column_info'] = 'pma__column_info';
                  // $cfg['Servers'][$i]['history'] = 'pma__history';
                  // $cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
                  // $cfg['Servers'][$i]['tracking'] = 'pma__tracking';
                  // $cfg['Servers'][$i]['designer_coords'] = 'pma__designer_coords';
                  // $cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
                  // $cfg['Servers'][$i]['recent'] = 'pma__recent';
                  // $cfg['Servers'][$i]['users'] = 'pma__users';
                  // $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
                  // $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
                  /* Contrib / Swekey authentication */
                  // $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
                  
                  /*
                   * End of servers configuration
                   */
                  
                  /*
                   * Directories for saving/loading files from server
                   */
                  $cfg['UploadDir'] = '';
                  $cfg['SaveDir'] = '';
                  
                  /**
                   * Defines whether a user should be displayed a "show all (records)"
                   * button in browse mode or not.
                   * default = false
                   */
                  //$cfg['ShowAll'] = true;
                  
                  /**
                   * Number of rows displayed when browsing a result set. If the result
                   * set contains more rows, "Previous" and "Next".
                   * default = 30
                   */
                  //$cfg['MaxRows'] = 50;
                  
                  /**
                   * disallow editing of binary fields
                   * valid values are:
                   *   false    allow editing
                   *   'blob'   allow editing except for BLOB fields
                   *   'noblob' disallow editing except for BLOB fields
                   *   'all'    disallow editing
                   * default = blob
                   */
                  //$cfg['ProtectBinary'] = 'false';
                  
                  /**
                   * Default language to use, if not browser-defined or user-defined
                   * (you find all languages in the locale folder)
                   * uncomment the desired line:
                   * default = 'en'
                   */
                  //$cfg['DefaultLang'] = 'en';
                  //$cfg['DefaultLang'] = 'de';
                  
                  /**
                   * default display direction (horizontal|vertical|horizontalflipped)
                   */
                  //$cfg['DefaultDisplay'] = 'vertical';
                  
                  
                  /**
                   * How many columns should be used for table display of a database?
                   * (a value larger than 1 results in some information being hidden)
                   * default = 1
                   */
                  //$cfg['PropertiesNumColumns'] = 2;
                  
                  /**
                   * Set to true if you want DB-based query history.If false, this utilizes
                   * JS-routines to display query history (lost by window close)
                   *
                   * This requires configuration storage enabled, see above.
                   * default = false
                   */
                  //$cfg['QueryHistoryDB'] = true;
                  
                  /**
                   * When using DB-based query history, how many entries should be kept?
                   *
                   * default = 25
                   */
                  //$cfg['QueryHistoryMax'] = 100;
                  
                  /**
                   * Should error reporting be enabled for JavaScript errors
                   *
                   * default = 'ask' 
                   */
                  //$cfg['SendErrorReports'] = 'ask';
                  
                  /*
                   * You can find more configuration options in the documentation
                   * in the doc/ folder or at <http://docs.phpmyadmin.net/>.
                   */
                  ?>
                  

                  我需要对这个文件做哪些更改?我已经跟进了各种帖子,但没有帮助.这是域关闭的问题吗?

                  What changes do I need to do on this file? I've already followed up various posts but its not helping. It this the problem with the domain being down?

                  提前致谢.

                  推荐答案

                  如果您使用的是 apache2.4 和 PHP 7,请运行

                  If you are using apache2.4 and PHP 7, run

                  sudo apt-get install php-mbstring php7.0-mbstring php-gettext
                  

                  然后重启你的服务器

                  sudo service apache2 restart
                  

                  这篇关于在某个域上安装phpmyadmin后内部服务器错误(HTTP Error 500)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:登录后带有phpmyadmin的Nginx错误重定向 下一篇:Docker:PhpMyAdmin 的上传限制为 2048KiB

                  相关文章

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

                    <bdo id='A8PSr'></bdo><ul id='A8PSr'></ul>

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

                      <tfoot id='A8PSr'></tfoot>