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