I run a WHM server, and lots of users have WordPress sites. WordPress provides an interface for installing plugins and themes directly from the WP Dashboard, without having to FTP them into place. On my server, when they select a theme to install, WordPress prompts for FTP credentials.
On some cPanel hosts, like BlueHost, users are NOT prompted for FTP credentials - the plugin or theme just installs itself, no questions asked. I'm trying to figure out how this is possible so I can offer the same convenience to my WP users. According to this page, it's a simple matter of permissions - if the user "nobody" can write to wp-content/themes, this should "just work." But I can't seem to make it work.
(still prompts for credentials)
(still prompts for credentials)
So, on this test install, perms are currently:
but it still doesn't work. What does it take to get this working?
Thanks,
On some cPanel hosts, like BlueHost, users are NOT prompted for FTP credentials - the plugin or theme just installs itself, no questions asked. I'm trying to figure out how this is possible so I can offer the same convenience to my WP users. According to this page, it's a simple matter of permissions - if the user "nobody" can write to wp-content/themes, this should "just work." But I can't seem to make it work.
Code:
chown username:nobody wp-content/themes
chmod g+w wp-content/themes
Code:
chown nobody:nobody wp-content/themes
So, on this test install, perms are currently:
Code:
drwxrwxrwx 6 nobody nobody 4096 Mar 21 12:00 themes/
Thanks,