Version 5 (modified by 7 years ago) (diff) | ,
---|
Selinux
Make sure uploads are writable for apache, without allowing apache to write in regular content locations
semanage fcontext -a -t httpd_sys_rw_content_t /var/www/html/wp-content/uploads restorecon -Rv /var/www/html setsebool -P httpd_unified 0
To make sure sqlite as backend db works assuming the db resides in that location:
semanage fcontext -a -t httpd_sys_rw_content_t /var/www/wordpress restorecon -Rv /var/www/wordpress