【发布时间】:2019-05-03 16:19:31
【问题描述】:
我按照手册说明在此处设置 Hubzilla。
https://project.hubzilla.org/help/en/admin/administrator_guide#Manual_Installation
我运行了命令
chmod -R 777 store
但是当我在浏览器中查看页面时它仍然给我这个错误。
ERROR: folder /var/www/html//store/[data]/smarty3 must be writable by webserver.
我尝试使用chown -R apache:apache store 和chmod o-w -R store 将其收紧,但没有成功,所以我再次运行chmod -R 777 store。这是权限。
[root@fsphub html]# ls -ld store
drwxrwxrwx. 3 apache apache 20 Dec 1 22:08 store
[root@fsphub html]# ls -lR store
store:
total 0
drwxrwxrwx. 3 apache apache 21 Dec 1 22:08 [data]
store/[data]:
total 0
drwxrwxrwx. 2 apache apache 6 Dec 1 22:08 smarty3
store/[data]/smarty3:
total 0
Apache 以 apache 运行。
[root@fsphub html]# ps -ef | grep http
root 16997 1 0 21:47 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 16998 16997 0 21:47 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
可能出了什么问题?
PHP 7.2.12
【问题讨论】:
标签: php apache file-permissions hubzilla