Word Press
Jump to navigation
Jump to search
↑ https://francispereira.com/deploying-wordpress-with-selinux-enabled.html
Server
SELinux
- When working with an Amazon Linux installation, and manually installing SELinux, these are steps I had to take.[1]
sudo semanage fcontext -f "" -a -t httpd_sys_rw_content_t '/var/www/html/wp-content/uploads(/.*)?'
- The following allowed me to update directly from the web UI.
sudo chcon -R -t httpd_sys_rw_content_t /var/www/html/wp-content/uploads/*