首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

Wrong permissions on configuration file, should not be world writable

2012-07-24 
Wrong permissions on configuration file, should not be world writable!? ?前言:? ? ? ? ? 今天在Linux

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

? ?前言:

? ? ? ? ? 今天在Linux下构建php,mysql的时候,还是遵循了那句“在Linux下问题总是异常多”。

?

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

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

? ? ? ? ?以前遇到权限问题都是一律设为777,现在看来不能再这样了,呵呵,php在考虑安全问题的时候也是很谨慎的!

1 楼 chenwq 2011-09-09   世上本没有红色的玫瑰 / 是谁 / 用茎上的刺割破手腕 / 鲜血滴答 / 和着眼泪 / 染红了这雪白的花蕾 / 从此 / 每当一颗心碎 / 地上便盛开一朵血红的玫瑰

热点排行