Report this

What is the reason for this report?

WP Super Cache - CentOS 7

Posted on July 28, 2015

Hi Guys,

I recently installed WP Super Cache flawlessly, however, today I noticed that I couldn’t update Wordpress and my plugins automatically. Thus, I chown my “public_html” directory again with my username and the apache group.

Now, I can’t seem to access the WP Super Cache settings on the administration panel.

Your cache directory (/var/www/website.com/public_html/wp-content/cache/) or /var/www/website.com/public_html/wp-content need to be writable for this plugin to work. Double-check it.

I can set the cache folder to 777 and the wp-cache-config.php to 666, however, that would be less secure.

Any ideas on how to resolve this?

J.



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey there,

Here is a tutorial that goes over permissions in Linux as an overview.

You can scale the permissions back to a 755/644 if you make the folder and files owned by the web server process. Example:

chown -R apache:apache /var/www/website.com/public_html/wp-content/cache/

Happy coding,

Jon Schwenn Platform Support Specialist DigitalOcean

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.