I have spent over 6 hours trying to do the 5-minute installation. I've searched Google over and over, and have yet to find anything that will actually fix my problem, so hopefully someone here can be of help.
I installed Wordpress (using these instructions). Installation went as expected. However, I now cannot install or uninstall any plugins or themes. My server does not have FTP (and I intend to keep it that way), so I'm using
define('FS_METHOD','direct'); in functions.php.
I'm using Nginx on CentOS 7, so I set the owner of
/usr/share/nginx/html (recursively) to
nginx:nginx. That directory is the location of my Wordpress installation. I have also set my directories to
chmod 755 and files to
chmod 644, per every reputable resource I could find online. As far as I can tell, based on what I can find online, those things there should make it work, and yet, the issue persists.
What do I need to do to fix the file permissions?
I know I'm probably going to get marked as duplicate, but I assure you I have attempted every reasonable idea I could find online, both on Google and on this site. Just for the record:
- Chmod 777 on everything doesn't make it work
- Chown root on everything doesn't make it work
- Yes, I'm using
-Ron my chown and chmod commands
- Yes, I have rebooted my server several times.