[wp-hackers] Installing themes, plugins without FTP credentials

Daniel Bachhuber d at danielbachhuber.com
Wed Mar 23 19:26:16 UTC 2011


A less efficient way of achieving the same effect is to install suPHP on the server. I did that at one point with an older machine if you'd like me to dig up instructions

Cheers,

Daniel

On Mar 23, 2011, at 2:33 PM, Scot Hacker <shacker at birdhouse.org> wrote:

> From all the reading I've done, WP's themes and plugins installers will either:
> 
> 1) Work without FTP credentials if the directories are writable by the web server process
> or
> 2) Prompt for FTP credentials
> 
> On my server, apache runs as nobody. So:
> 
> chown -R nobody:nobody wp-content/themes
> chmod g+w wp-content/themes
> 
> Still prompts for FTP credentials. For testing, I open it up all the way (which I don't like to do):
> 
> drwxrwxrwx   6 nobody  nobody 4096 Mar 21 12:00 themes/
> 
> but it still doesn't work. Making sure the installer scripts themselves are owned by nobody:
> 
> # ls -l wp-admin/theme-install.php 
> -rw-r--r--  1 nobody nobody 3355 Feb 25 13:27 wp-admin/theme-install.php
> 
> So... why do I still get prompted for FTP credentials? Using WP 3.1.
> 
> Thanks,
> Scot
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list