How to solved The directory is not writable by the Web process: /var/www/html/
How to solved The directory is not writable by the Web process: /var/www/html/myview/frontend/web/assets
Check the selinux status
Check the selinux status
[root@localhost ~]# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: enforcing
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 28
[root@localhost ~]#
Allow selinux to httpd for read and write the directory
[root@localhost ~]# chcon -R -t httpd_sys_content_rw_t /var/www/html/myview/
[root@localhost ~]#
Restart the apache
[root@localhost ~]# service httpd restart
Redirecting to /bin/systemctl restart httpd.service
[root@localhost ~]#
Tidak ada komentar :
Posting Komentar