phpmyadmin提示错误Wrong permissions on configuration file, should not be world writable!解决方法

来源:互联网 发布:上海电气电站待遇知乎 编辑:程序博客网 时间:2024/04/26 12:35
 

今天服务器上的phpmyadmin打开后出现下面的提示:

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

    进入phpMyAdmin页面时显示:Wrong permissions on configuration file, should not be world writable
原因:这个不关XAMPP的事了,是phpmyadmin目录权限设置的问题,如果你把phpmyadmin的所有文件chmod 777就会出现这个提示了
解决方法:只要修改文件属性就可以了,phpmyadmin要运行在755权限下,
终端运行sudo chmod -R 755 /opt/lampp/phpmyadmin

原来是phpmyadmin权限为777,要把所有文件的组和其他用户的写权限全部去掉才行,将权限改为755后一切正常。

以前遇到权限问题都是一律设为777,现在看来不能再这样了,呵呵,安全问题也是很重要D~

原创粉丝点击