Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Apache permissions with WordPress on CentOS 7
I’ve set up dozens of CentOS servers before, so this one is baffling me to say the least…
I’ve got a “nothing fancy” LAMP stack running on a CentOS 7 droplet. I’ve got a VirtualDirectory configuration running a WordPress site that I’ve run on other hosts for many years, and it’s never given me a problem before. I’ve transferred it here, and have tried to install a plugin through the UI.
I get the “FTP login” screen (which I’ve never seen before). I’ve tried using chmod -R g+w on the wp-content folder (which I’ve never had to do before), I’ve set define(‘FS_METHOD’, 'direct’); as well. I’ve tried setting the apache user SSH keys. None of them solve my problem.
I thus must assume that I’ve got an Apache and/or a UNIX user config issue. But I can’t seem to find it.
Any pointers and/or hints would be greatly appreciated!
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.×