CentOS7 Owncloud8.2在vmware12中搭建的私有云
[root@localhostopt]#chcon-R-thttpd_sys_rw_content_t
‘/var/www/html/owncloud/apps’
出现上面的问题是因为在安装PHP时少安装了部分模块,现在把它安装上,如果在PHP安装时提前把这些包安装上就不会出现这个问题了
[root@localhostopt]#yuminstall-yphp-domphp-mbstringphp-gdphp-pdophp-jsonphp-xmlphp-zipcurlphp-curlphp-mcryptphp-pear
[root@localhostopt]#systemctlrestarthttpd.service
刷新下网页后,结果如下:#修改php包后记得重启下apache