I\'m trying to setup Wordpress to be able to install plugins via SFTP (SSH) on a Centos 6 VPS.
I\'ve been able to modify wp-config
so it uses the right
On your production server, in your WordPress index.php file, at the top, you can temporarily put echo(exec("whoami"));die();
Then browse to your WordPress site and see what user was running. On Ubuntu, mine was www-data
.
This was useful for me for: Can I install/update WordPress plugins without providing FTP access?