Owncloud - Can't write into config directory!

Owncloud - Can't write into config directory!

Can't write into config directory!

This can usually be fixed by giving the webserver write access to the config directory.


无法写入config文件

查了很多资料,大都是英文的,总结了一下,以下两种方法可以解决。

方案一:

$chown –R apache:apache $owncloud_path
$chmod –R 777 $owncloud_path


方案二:

将config路径添加到/etc/php/php.ini的open_basedir下。

方案三:

$setsebool -P httpd_unified 1
$setsebool -P httpd_execmem 1
$service httpd restart
————————————————
版权声明:本文为CSDN博主「AmosHsu」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/xuhuiyue/article/details/73554909

猜你喜欢

转载自www.cnblogs.com/jackron/p/12192322.html