nginx 错误提示 Wrong permissions on configuration file, should not be

回复 星标
更多
nginx 错误提示 Wrong permissions on configuration file, should not be»

nginx 错误提示 Wrong permissions on configuration file, should not be world writable! 解决办法,有需要的朋友可参考本文章。

在网页形式下浏览数据库时出现错误:

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

其实这个错误是mysql数据库的权限设置成了777所造成的

解决办法

把数据库的根目录权限重新设置成755即可,比如数据库 phpMyAdmin的存放目录是:/opt/ppt/phpMyAdmin

则可以进行如下的操作:chmod -R 755 phpMyAdmin,这样重新设置后就可以了。

2015-04-27 22:44:47更新过
新窗口打开 关闭