phpmyadmin 登录时出现内部服务器错误

phpmyadmin 登录时出现内部服务器错误

我已经成功安装了 phpmyadmin这里

在重新启动机器之前,我可以毫无问题地登录。

重新启动机器后,当我要localhost/phpmyadmin输入用户(root)及其密码(123456)时,它让我:

500 Internal Server Error

我不知道那有什么问题!

任何帮助,将不胜感激。

编辑 :{添加更多信息}

var/log/Apache2/error.log

[Sun Jul 28 11:41:50 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.7 with Suhosin-Patch configured -- resuming normal operations
[Sun Jul 28 12:53:22 2013] [error] [client 127.0.0.1] (2)No such file or directory: Could not open password file: /path/to/passwords/.htpasswd
[Sun Jul 28 12:53:22 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Sun Jul 28 12:53:26 2013] [error] [client 127.0.0.1] (2)No such file or directory: Could not open password file: /path/to/passwords/.htpasswd
[Sun Jul 28 12:53:26 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Sun Jul 28 12:53:32 2013] [error] [client 127.0.0.1] (2)No such file or directory: Could not open password file: /path/to/passwords/.htpasswd
[Sun Jul 28 12:53:32 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Sun Jul 28 12:53:38 2013] [error] [client 127.0.0.1] (2)No such file or directory: Could not open password file: /path/to/passwords/.htpasswd
[Sun Jul 28 12:53:38 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
[Sun Jul 28 12:54:10 2013] [error] [client 127.0.0.1] (2)No such file or directory: Could not open password file: /path/to/passwords/.htpasswd
[Sun Jul 28 12:54:10 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Sun Jul 28 12:54:10 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Sun Jul 28 12:54:52 2013] [error] [client 127.0.0.1] (2)No such file or directory: Could not open password file: /path/to/passwords/.htpasswd
[Sun Jul 28 12:54:52 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Sun Jul 28 12:55:34 2013] [error] [client 127.0.0.1] (2)No such file or directory: Could not open password file: /path/to/passwords/.htpasswd
[Sun Jul 28 12:55:34 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Sun Jul 28 12:55:34 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Sun Jul 28 12:56:00 2013] [error] [client 127.0.0.1] (2)No such file or directory: Could not open password file: /path/to/passwords/.htpasswd
[Sun Jul 28 12:56:12 2013] [error] [client 127.0.0.1] (2)No such file or directory: Could not open password file: /path/to/passwords/.htpasswd
[Sun Jul 28 12:56:17 2013] [error] [client 127.0.0.1] (2)No such file or directory: Could not open password file: /path/to/passwords/.htpasswd
[Sun Jul 28 13:54:49 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:06:19 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Sun Jul 28 14:06:24 2013] [error] [client 127.0.0.1] PHP Warning:  mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /home/hamed/public_html/PHP_SelectQuery/index.php on line 14, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:06:45 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Sun Jul 28 14:06:46 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:06:46 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:06:46 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:06:46 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:06:52 2013] [error] [client 127.0.0.1] PHP Warning:  mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /home/hamed/public_html/PHP_SelectQuery/index.php on line 14, referer: http://localhost/PHP_SelectQuery/index.php?healthy=healthy
[Sun Jul 28 14:06:54 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php?healthy=unhealthy
[Sun Jul 28 14:06:54 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php?healthy=unhealthy
[Sun Jul 28 14:06:54 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php?healthy=unhealthy
[Sun Jul 28 14:06:54 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php?healthy=unhealthy
[Sun Jul 28 14:07:53 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Sun Jul 28 14:07:54 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:07:54 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:07:54 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:07:54 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:08:23 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:08:23 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:08:23 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:08:23 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:08:32 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Sun Jul 28 14:08:33 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:08:33 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:08:33 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:08:33 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:09:39 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Sun Jul 28 14:09:41 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:09:41 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:09:41 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:09:41 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:09:44 2013] [error] [client 127.0.0.1] PHP Warning:  mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php?healthy=healthy
[Sun Jul 28 14:09:48 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php?healthy=unhealthy
[Sun Jul 28 14:09:48 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php?healthy=unhealthy
[Sun Jul 28 14:09:48 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php?healthy=unhealthy
[Sun Jul 28 14:09:48 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: food in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php?healthy=unhealthy
[Sun Jul 28 14:10:28 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Sun Jul 28 14:10:29 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: name in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:10:29 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: name in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:10:29 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: name in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php
[Sun Jul 28 14:10:29 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: name in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
[Sun Jul 28 14:33:35 2013] [notice] caught SIGTERM, shutting down
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
[Mon Jul 29 01:09:32 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.7 with Suhosin-Patch configured -- resuming normal operations
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
[Mon Jul 29 01:27:40 2013] [notice] caught SIGTERM, shutting down
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
[Mon Jul 29 10:22:19 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.7 with Suhosin-Patch configured -- resuming normal operations
[Mon Jul 29 10:49:19 2013] [error] [client 127.0.0.1] (2)No such file or directory: Could not open password file: /path/to/passwords/.htpasswd
[Mon Jul 29 10:49:19 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Mon Jul 29 10:55:21 2013] [error] [client 127.0.0.1] (2)No such file or directory: Could not open password file: /path/to/passwords/.htpasswd
[Mon Jul 29 10:55:21 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Mon Jul 29 11:02:41 2013] [error] [client 127.0.0.1] (2)No such file or directory: Could not open password file: /path/to/passwords/.htpasswd
[Mon Jul 29 11:02:42 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Mon Jul 29 11:02:42 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Mon Jul 29 11:21:41 2013] [error] [client 127.0.0.1] (2)No such file or directory: Could not open password file: /path/to/passwords/.htpasswd
[Mon Jul 29 11:21:42 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Mon Jul 29 11:21:42 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Mon Jul 29 11:22:58 2013] [error] [client 127.0.0.1] (2)No such file or directory: Could not open password file: /path/to/passwords/.htpasswd
[Mon Jul 29 11:22:58 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Mon Jul 29 11:22:58 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Mon Jul 29 12:01:08 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Mon Jul 29 12:01:08 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico, referer: http://localhost/PHP_SelectQuery/index.php
[Mon Jul 29 12:01:12 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: name in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php
[Mon Jul 29 12:01:12 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: name in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php
[Mon Jul 29 12:01:12 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: name in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php
[Mon Jul 29 12:01:12 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: name in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php
[Mon Jul 29 12:01:15 2013] [error] [client 127.0.0.1] PHP Warning:  mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php?healthy=healthy
[Mon Jul 29 12:02:37 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Mon Jul 29 12:02:38 2013] [error] [client 127.0.0.1] PHP Warning:  mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /home/hamed/public_html/PHP_SelectQuery/index.php on line 15, referer: http://localhost/PHP_SelectQuery/index.php
[Mon Jul 29 12:06:01 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Mon Jul 29 12:06:02 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: name in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php
[Mon Jul 29 12:06:02 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: name in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php
[Mon Jul 29 12:06:04 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: name in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php?healthy=healthy
[Mon Jul 29 12:06:04 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: name in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php?healthy=healthy
[Mon Jul 29 12:06:07 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: name in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php?healthy=unhealthy
[Mon Jul 29 12:06:07 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: name in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php?healthy=unhealthy
[Mon Jul 29 12:06:09 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: name in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php?healthy=healthy
[Mon Jul 29 12:06:09 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: name in /home/hamed/public_html/PHP_SelectQuery/index.php on line 16, referer: http://localhost/PHP_SelectQuery/index.php?healthy=healthy
[Mon Jul 29 12:06:38 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Mon Jul 29 12:07:23 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Mon Jul 29 12:08:20 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Mon Jul 29 12:08:32 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Mon Jul 29 12:09:12 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Mon Jul 29 12:09:35 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Mon Jul 29 12:12:47 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/phpMyAdmin, referer: http://superuser.com/questions/114221/how-can-i-start-phpmyadmin/114258
[Mon Jul 29 12:12:47 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Mon Jul 29 12:12:53 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/phpMyAdmin
[Mon Jul 29 12:12:53 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Mon Jul 29 12:12:57 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/phpMyAdmin
[Mon Jul 29 12:12:57 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Mon Jul 29 12:13:06 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/phpMyAdmin
[Mon Jul 29 12:13:06 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Mon Jul 29 12:13:06 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Mon Jul 29 12:14:48 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Mon Jul 29 12:15:20 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Mon Jul 29 12:15:37 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Mon Jul 29 12:15:55 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Mon Jul 29 12:16:21 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Mon Jul 29 12:16:38 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 2
[Mon Jul 29 12:52:10 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 3
[Mon Jul 29 12:52:22 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 3
[Mon Jul 29 12:53:14 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 3
[Mon Jul 29 12:54:01 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index: healthy in /home/hamed/public_html/PHP_SelectQuery/index.php on line 3
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
[Mon Jul 29 15:13:17 2013] [notice] caught SIGTERM, shutting down
Failed loading /usr/lib/php5/20090626+lfs/xdebug.so:  /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object file: No such file or directory
[Mon Jul 29 15:13:18 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.7 with Suhosin-Patch configured -- resuming normal operations
[Mon Jul 29 15:13:48 2013] [error] [client 127.0.0.1] (2)No such file or directory: Could not open password file: /path/to/passwords/.htpasswd
[Mon Jul 29 15:13:48 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Mon Jul 29 15:13:48 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico

答案1

该错误Internal Server Error可能意味着服务器端存在任何问题。从您的链接判断,您使用 Apache2 作为 Web 服务器。请检查目录中的日志文件/var/log/apache2/,尤其是日志文件/var/log/apache2/error.log以获取更多信息。

根据我的经验,我会说阿帕奇拥有错误的权限PHPMyAdmin文件夹。检查apache user该文件夹是否有读取权限/usr/share/phpmyadmin/

另请记住,通过运行service apache2 restart或更改其配置后,您需要重新启动 apache web 服务器sudo service apache2 restart


编辑:

.htpasswd您没有在配置中更改文件的路径,这就是为什么日志文件中出现此错误的原因:

 Could not open password file: /path/to/passwords/.htpasswd

仔细阅读您再次使用的指南,并根据您的需要更改路径。

我建议你将该.htpasswd文件移动到与 相同的目录中.htaccess。在终端中输入

sudo mv ~/phpmyadmin_password/.htpasswd /usr/share/phpmyadmin/.htaccess

之后更新您的/usr/share/phpmyadmin/.htaccess文件使其看起来像这样:

AuthType Basic
AuthName "Restricted Files"
AuthUserFile /usr/share/phpmyadmin/.htpasswd
Require valid-user

还要检查两个文件的文件所有权和权限。 apache 用户应该能够读取这两个文件。

相关内容