2017-04-07 34 views
0

将我的Apache服务器从Ubuntu 14.04迁移到CentOS 7后,我开始遇到这些权限错误。“无法写入配置文件。” Magento Connect Manager错误1.9.3.2

在Magento的连接管理器登录页面,我有一个错误信息而无法打登录:

Unable to write to the configuration file. 

后,我设置为每个文件和文件夹的权限,以0777

的错误,即使保持

然后,我删除“下载程序”文件夹中的.cfg文件。现在,该错误信息已经成为:

Settings has not been loaded. Used default settings 
Config file does not exists please save Settings 
Unable to write to the configuration file. 

登录/注销后,重新启动Apache服务器乃至整个主机,错误依然存在。错误日志根本没有记录任何内容。

+0

新的Magento安装也很难删除临时文件,即使所有者和组都设置为Web服务器运行的内容。 –

+0

由于Stack Overflow是一个[编程相关](http://stackoverflow.com/help/on-topic)问答站点,因此我正在投票关闭此题目以作为题外话题。你的问题不是关于编程。也许你应该在http://magento.stackexchange.com上发布它呢? – Enigmativity

回答

0

解决!

SELinux阻止Apache写入目录。 我用下面的命令来启用它:

chcon -t httpd_sys_rw_content_t /var/www/html -R 
相关问题