WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] FTP credentials when updating to localhost (3 posts)

  1. wperic
    Member
    Posted 2 years ago #

    Trying to update my localhost installation of WP. It asks me for my "FTP credentials." What would they be in this case, since I'm not using FTP but just installing the upgrade directly on my computer?

    I tried my normal user login to the computer, but WP didn't like that. I also tried my login to WP, but that didn't work either.

  2. wperic
    Member
    Posted 2 years ago #

    I'm confused by the paragraph in http://codex.wordpress.org/Updating_WordPress starting

    "For Automatic Update to work, all of your WordPress files have to either be owned by, or group writable by, the user WordPress runs as. WordPress does not necessarily run as the Apache server user (named "apache", "web", "nobody", or some such), nor is the server user necessarily the owner of the files.

    It never does say how one determines who is the "user WordPress runs as." It looks like it's implying that the user is the owner of the WP files.

    What's confusing is that I am the owner of all the files. Or is the user 'admin', whom I'm logged into WP as? And in any case (reference later in the paragraph), I've got all the files currently set at 777, which should let the automatic update run in any case--but I still get prompted for the FTP information.

    So what's the story? I've got a bunch of different WP installations, so it would be really good to be able to use the automatic update rather than have to use the manual update for each of those installations.

  3. wperic
    Member
    Posted 2 years ago #

    Resolved.
    Changed the WP directory owner/group to apache/apache and the updates work. Still mysterious about how to use the ftp option on localhost if the ownership of the WP directory isn't right, but that's not important now.

Topic Closed

This topic has been closed to new replies.

About this Topic