运行 EC2 实例,已安装 phpMyAdmin,当我创建 config.inc.php 文件(并将其移动到顶级目录)然后尝试通过浏览器导航到 (mydomain)/phpmyadmin 时,我得到了这个:
"Wrong permissions on configuration file, should not be world writable!"
所以,我运行了这个命令:
chmod 755 config.inc.php
然后当我重新加载浏览器页面时,我得到默认的 chrome “服务器错误”页面,好像那里什么都没有。
我已经多次重复这个过程,但没有成功。
最佳答案
这是一个解决方案,虽然它看起来像一个 hack:
这里也一样:
http://www.davinder.in/blog/wrong-permissions-configuration-file-should-not-be-world-writable
这家伙说'705'实际上是你想要的权限集:
关于mysql - config.inc.php 的 phpMyAdmin 权限,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18923347/