2

I'm on a server that does not have FTP installed and will not have FTP installed. I have another website that I've been able to install plugins in before, including the one I'm trying to install now (WP-PageNavi).

Does anyone have a list of standard permissions for WordPress that they use themselves so that they don't run into this issue?

I've read the WordPress article on the topic and looked at other questions on this website.

Any help is appreciated.

1
  • What is your host?
    – GavinR
    Oct 26, 2011 at 3:57

2 Answers 2

3

Standard permissions for most WordPress installations is 755 for directories and 644 for files.

For media uploads, auto plugin installation and updates the directories need to be owned by the same user PHP is running under. Usually this is nobody:nobody or www-data:www-data.

2
  • The www-data:www-data worked. I'm not sure why though because I have other websites on the same server that did not require this. Either way, thanks!
    – Matt
    Oct 26, 2011 at 16:36
  • Why is that? If it's group writable, why does it have to be owned by Apache2?
    – jfa
    Aug 4, 2014 at 16:04
1

Make sure the web files are owned by the apache webserver user (on Ubuntu it's "www-data"). Check this by doing a:

ls -al

And if they are not, set them using:

chown -R www-data:www-data folder/
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.