Internal server error (HTTP Error 500) after installing phpmyadmin on a certain domain

后端 未结 6 1240
感情败类
感情败类 2021-02-04 20:07

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

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

6条回答
  •  时光取名叫无心
    2021-02-04 20:30

    After applying all the above mentioned solution, none worked for me.

    This worked for me:

    I thing this error comes from a phpmyadmin library

    So, we need to modify following File

    File Location : /usr/share/phpmyadmin/libraries/sql.lib.php

    Line No : 614

    run following command in ubuntu terminal

    sudo nano /usr/share/phpmyadmin/libraries/sql.lib.php Replace two codes :

    Replace : (count($analyzed_sql_results[‘select_expr’] == 1)

    With : (count($analyzed_sql_results[‘select_expr’]) == 1)

    Replace : && ($analyzed_sql_results[‘select_expr’][0] == ‘*’)))

    With : && ($analyzed_sql_results[‘select_expr’][0] == ‘*’))

提交回复
热议问题