Nginx

1个成员

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

发表于 2017-01-05 3196 次查看
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,这样重新设置后就可以了:-)

发表回复
你还没有登录,请先登录注册