简体   繁体   English

phpMyAdmin上的内部服务器错误

[英]Internal server error on phpMyAdmin

I just reinstalled my webserver and found myself having an error that I know nothing about :( 我刚刚重新安装了Web服务器,发现自己遇到了一个我不知道的错误:(

I'm using apache 2, I'm assuming my mysql environment is well installed, although I have no clue on how to check that. 我正在使用apache 2,我假设我的mysql环境安装正确,尽管我不知道如何检查。 I just unzipped phpmyadmin 4.5 on the www/ folder, created the config folder , gave it the right rights, moved my config.ini.php inside, but whenever i try to acces domainname/phpMyAdmin or domainname/phpMyAdmin/setup/ i'm getting this: 我只是在www /文件夹上解压缩了phpmyadmin 4.5,创建了config文件夹,赋予了它正确的权限,将config.ini.php移到了其中,但是每当我尝试访问domainname / phpMyAdmin或domainname / phpMyAdmin / setup /时,得到这个:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@domainname and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

And here are the apache2 logs: 这是apache2日志:

[Sun Aug 23 19:11:23 2015] [error] [client 79.91.191.99] SoftException in Application.cpp:350: UID of script "/home/MGC/www/phpMyAdmin/index.php" is smaller than min_ uid [2015年8月23日星期日19:11:23] [错误] [客户端79.91.191.99] Application.cpp:350中的SoftException:脚本“ /home/MGC/www/phpMyAdmin/index.php”的UID小于min_ uid

[Sun Aug 23 19:11:23 2015] [error] [client 79.91.191.99] Premature end of script hearders: index.php [2015年8月23日星期日19:11:23] [错误] [客户端79.91.191.99]脚本听众过早结束:index.php

Run the following in ssh terminal 在ssh终端中运行以下命令

  1. in the phpmyadmin root dir to fix permissions 在phpmyadmin根目录中修复权限

     chmod -R 0755 * 
  2. to find the apache user 查找apache用户

     ps aux | egrep '(apache|httpd|www)' 
  3. outside the phpmyadmin dir to set ownership 在phpmyadmin目录之外设置所有权

     chown -R www-data:www-data * 

www-data is the apache user on ubuntu, on your distro might be different www-data是ubuntu上的apache用户,您的发行版可能有所不同

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

相关问题 内部服务器错误phpMyAdmin CentOs - Internal Server Error phpMyAdmin CentOs 内部服务器错误500,phpmyadmin已安装且正在运行 - Internal Server Error 500, phpmyadmin installed and working phpmyadmin 到在线网站上的内部服务器错误 - Internal server error on phpmyadmin to online website PHPMyAdmin 500 Apache 中的内部服务器错误,由于 PHP 版本 - PHPMyAdmin 500 Internal Server Error in Apache due to PHP Version phpmyadmin 500 内部服务器错误,有大量表 - Phpmyadmin 500 internal server error with big number of tables phpMyAdmin处理请求时出错错误代码:500错误文本:内部服务器错误 - phpMyAdmin Error in processing request Error code: 500 Error text: Internal Server Error 处理请求时出错 错误代码:500 错误文本:在 phpmyadmin 中选择任何数据库时出现内部服务器错误 - Error in processing request Error code: 500 Error text: Internal Server Error on selecting any database in phpmyadmin 在某个域上安装phpmyadmin后内部服务器错误(HTTP Error 500) - Internal server error (HTTP Error 500) after installing phpmyadmin on a certain domain PHPMyAdmin 500 Apache 中的内部服务器错误,由于 PHP 版本 || 新问题 - PHPMyAdmin 500 Internal Server Error in Apache due to PHP Version || New Problem Silverstripe | 内部服务器错误 - Silverstripe | Internal Server Error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM