I'm trying to make Wordpress work. I currently have this error message:
Could not create directory. /var/www/html/wp-content/upgrade/theme_name
when trying to upload a theme. This is the permissions set to /var/www/html/wp-content/upgrade/
drwxrwxr-x 3 ec2-user apache 4096 Jun 21 00:30 upgrade
chmod 777 upgrade makes the error go away. But that is not considered best practice. However, I think this should work too... why not?
I guess the web server may not be included by the above permissions. What group should I use to allow the web server to write?
(My setup is Amazon EC2, Amazon Linux AMI with httpd)