I'm having a strange issue, wordpress is installed on CentOS 7, PHP-FPM, NGNIX. All seems to work fine, wordpress works, I can install plugins, and uload images etc...
But when i try to update wordpress it prompts for FTP details, as it says files are not writable.
In the health check plugin i see,
The main WordPress directory Not writable
The wp-content directory Writable
The uploads directory Writable
The plugins directory Writable
The themes directory Writable
All Folders have the owner nginx, and all folder / file permsisions are correct.
PHP / Nginx runs as the user nginx.
I'm guessing it's a permission issue somewhere, but i just can't see it.
Even setting all folders to 777 has the same issue.
Has anyone any ideas?
Thanks for your time
Wordpress Root Permissions Issue
Wordpress Root Permissions Issue
Last edited by petersh on 2019/05/12 04:13:18, edited 2 times in total.
Voucher Lazada for You: Muarehon.vn
-
- Posts: 1
- Joined: 2018/07/18 01:42:07
Re: Wordpress Root Permissions Issue
Any update on this? I'm going through the same thing.
Closest issue I have found was https://www.digitalocean.com/community/ ... ermissions dealing with php-fpm.
I'm utilizing httpd so it didn't help me :\
Closest issue I have found was https://www.digitalocean.com/community/ ... ermissions dealing with php-fpm.
I'm utilizing httpd so it didn't help me :\
Re: Wordpress Root Permissions Issue
petersh, one thing stuck out to me was when you said your main wordpress directory was non-writable, I can only say that mine (httpdocs) is 750, writeable by its owner.
Re: Wordpress Root Permissions Issue
I'll take a wild stab in the dark...
Useful resources for SELinux: http://wiki.centos.org/HowTos/SELinux | http://wiki.centos.org/TipsAndTricks/SelinuxBooleans | http://docs.fedoraproject.org/en-US/Fed ... ced_Linux/ | http://www.youtube.com/watch?v=bQqX3RWn0Yw | http://opensource.com/business/13/11/se ... licy-guide | http://freecomputerbooks.com/The-SELinu ... tions.html
We do not recommend disabling selinux.
Useful resources for SELinux: http://wiki.centos.org/HowTos/SELinux | http://wiki.centos.org/TipsAndTricks/SelinuxBooleans | http://docs.fedoraproject.org/en-US/Fed ... ced_Linux/ | http://www.youtube.com/watch?v=bQqX3RWn0Yw | http://opensource.com/business/13/11/se ... licy-guide | http://freecomputerbooks.com/The-SELinu ... tions.html
We do not recommend disabling selinux.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke