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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM