12月10

Existing configuration file (./config.inc.php) is not readable.(原创)

| |
20:14Linux  
今天重新搭建的phpmyadmin,在通过URL访问的时候,却提示:
Existing configuration file (./config.inc.php) is not readable.

在网上搜了很多答案都不行,有人说把config.inc.php权限改成777,又提示:Wrong permissions on configuration file, should not be world writable!

后来经过N+X次测试,才发现一个诀窍:
1、在提示Existing configuration file (./config.inc.php) is not readable.的时候,通过终端登陆到系统里面,修改config.inc.php文件的权限为660;
2、再将config.inc.php文件的权限改为777;
3、重新再将config.inc.php文件的权限改回660。

OK,现在再通过客户端浏览器访问,可以访问了哈!!!
阅读(1450) | 评论(0) | 引用(0)