解决phpMyAdmin报错Wrong permissions on configuration file, should not be world writable!

学习  ·  2011-01-08

昨天升级kloxo到最新版本以后,打开phpMyAdmin的时候报错。
错误提示:Wrong permissions on configuration file, should not be world writable!
百度GG一下才知道phpMyAdmin的文件夹和子文件夹要是755权限,单文件要是644权限才能正常工作(777不行)。
所以解决办法也就来了:
1、SSH,cd转到phpMyAdmin上级目录,修改phpMyAdmin文件夹权限,
chmod -R 755 phpMyAdmin
2、然后进入phpMyAdmin文件中检查其子目录和文件权限是否正常,
子目录权限也是755,文件权限644.不正常的改好以后就OK!

评论
混乱博客
混乱博客

很少用这个!!!!!

V-ZONE. All Rights Reserved. Theme Jasmine by Kent Liao.