Version 5 (modified by at 2017-12-28T21:43:05+01:00) ( 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
Note:
See TracWiki
for help on using the wiki.