Skip to content

What to do when WordPress 2.8+ asks for connection info to upgrade a plugin

by Jonathon on January 14th, 2010

I was getting this when trying to upgrade a plugin automatically within WordPress:

Normally this would be a filesystem permission error. You have to make sure the wp-content/plugins folder is owned by the user apache is running as. However, that didn’t change a thing.

Further googling revealed that I needed to add this constant in my wp-config.php file:

define('FS_METHOD', 'direct');

From → Notebook

2 Comments
  1. Thanks for sharing this link, but unfortunately it seems to be down… Does anybody have a mirror or another source? Please reply to my message if you do!

    I would appreciate if someone here at jonathonhill.net could repost it.

    Thanks,
    Jack

  2. Dave Campbell permalink

    Thanks – worked a treat!

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS