今天访问CentOS上的phpmyadmin,在通过URL访问的时候,却提示:
Existing configuration file (./config.inc.php) is not readable.

在网上查看有好多贴子,说是权限的问题。把config.inc.php权限改成

[datasite@centos231 phpmyadmin]$ chmod 777 config.inc.php

却提示:

Wrong permissions on configuration file, should not be world writable!

最终设置权限为

[datasite@centos231 phpmyadmin]$ chmod 644 config.inc.php

顺利登录。

» 版权所有:YaoLei's Blog » Existing configuration file (./config.inc.php) is not readable.
» 本文链接:https://www.yaolei.info/archives/17