I have VPS server with centos 7 and my directory is /home/admin/public_html and i put some websites (wordpress) on it. My problem is when i tried to update or install the plugin, it didn’t work because of permission. So i find this solution on google :
chown -R apache:apache /home/admin/public_html
Problem solved. I can update plugin or install new plugin. But i face new problem now : i can’t upload file using FTP software with the error message : 553 can’t open that file. Permission denied. To solve this i revert back with : chown -R admin:admin /home/admin/public_html but i can’t install/update plugin on my wordpress dashboard again.
How to make right permission so that i can installed plugin and also upload using FTP software?
Thanks for help.
Read more here: WordPress can’t install plugin, solve with chown but can’t FTP