- Setup direct updates omitting FTP
-
define('FS_METHOD','direct');
Change owner
-
chown -Rv apache:apache /var/www/wordpress/
- Correct permissions for directories and files
-
find /var/www/wordpress/ -type f -exec chmod 644 {} \;
find /var/www/wordpress/ -type d -exec chmod 755 {} \;
Selinux
-
chcon -t httpd_sys_rw_content_t /var/www/wordpress/ -R
setbool -P httpd_can_sendmail=1
Leave a Reply