0

I have WordPress installed on my box and every time I want to upgrade any of my plugins I hit "upgrade automatically", and it prompts me for hostname, username and password to update the plugin through FTP, but on my other instance running (not the same server) it doesn't, it just updates.

Where/what do I need to change on my first instance so it doesn't ask and just updates my plugins by hitting "upgrade automatically"?

2 Answers 2

1

The automatic update function falls back to the FTP method when the web server user doesn't have write access to the Wordpress files. This is pretty common in share hosting setups and I have the same issue with my own installation.

You'd need to figure out which user the web server is running as and grant that write access to the files, however I've been led to believe this is a Bad Thing for web server security and haven't gone down that route myself.

4
  • ok, my apache runs under daemon userid, what directory it needs to be able to access?
    – alexus
    Sep 8, 2009 at 21:19
  • The directory containing all the wordpress files.
    – mcd
    Sep 9, 2009 at 0:29
  • i tried even doing chmod -R 777 wordpress and yet that still didn't work for me
    – alexus
    Sep 10, 2009 at 14:40
  • you do not want to chmod -R 777! that makes all files executable in the subdirectories! a chmod -R uog+rw should be sufficient. And the plugins live in $WPROOT/wp-content/plugins
    – warren
    Sep 24, 2009 at 3:47
0

This document covers exactly everything that one needs to know in order to get it going: Updating WordPress « WordPress Codex

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .