Hi everyone,
I am having trouble setting up the permissions to let WordPress create its own files in the WordPress structure. I have followed several tutorials on how to install and configure WordPress, but the last one I used is this one : https://www.digitalocean.com/community/articles/how-to-configure-secure-updates-and-installations-in-wordpress-on-ubuntu
I changed some of the commands in this tutorial to fit with CentOS (e.g. yum instead of apt-get) and I used the “apache” group name instead of “www-data” because www-data doesn’t exist on my current CentOS system. I managed to go through all of it, but I am still stuck.
WordPress is still not able to upload images, themes and probably plugins (I haven’t tried that one yet, but I’m pretty sure it won’t work).
Could anyone help me figure out what is the problem please?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
For some reason, this command ended up working: <br> <br>sudo chown -R www-data:www-data /path/to/WordPress/Installation <br> <br>I’m pretty sure I already did that one and it didn’t work. I suppose I modified some things between this execution of the command and the last one. <br> <br>I found my answer here: https://www.digitalocean.com/community/questions/setting-permissions-for-wordpress
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.