Word Press

From Michael's Information Zone
Jump to navigation Jump to search

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/*

Plugins

  • https://francispereira.com/deploying-wordpress-with-selinux-enabled.html