Support » Fixing WordPress » What files need to be writable to get automatic plugin update working?

  • Hi,

    I moved servers and am now hosted on slicehost (VPS). The plugin directory and everything inside it belong to group www-data (apache’s group) and have the permissions drwxrwxr-x.

    When I try and update a plugin I get the “To perform the requested update, FTP connection information is required.” message and a form to enter FTP details.

    Those permissions are correct and defiantly writable by apache/php. What other files need permissions changed?

    I am running 2.6.1, apache 2.2.3, php 5.2.0.

    Thanks

    Paul

Viewing 4 replies - 1 through 4 (of 4 total)
  • The updater works via FTP and only by FTP, so unless you give it those details it can’t update. Instead, I use One Click Plugin Updater, which can do it directly without FTP

    I will take a look at the plugin, thanks.

    Why does it require FTP? I never install FTP on my servers and have never had to configure wordpress with FTP details.

    At a guess it’s to get over the problem of file ownership on shared servers. Unless you update by FTP then your files can start being owned by nobody instead of by you, and that’s a pain! This is something I’ve found out since abandoning my own home server!

    Hi Paul,
    it doesn’t require ftp. I just had the same problem. It’s not enough to make the plugin-directory writeable to apache. Better you chown the whole wp-content directory to apache. Or even your whole wp-installation. And it’s ok to chmod the dirs 755 and the files 644. (Should be no problem to make the files executable but it’s not necessary either).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘What files need to be writable to get automatic plugin update working?’ is closed to new replies.