Title: update in localhost
Last modified: August 21, 2016

---

# update in localhost

 *  [TAB42](https://wordpress.org/support/users/tab42/)
 * (@tab42)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/update-in-localhost/)
 * Under [http://codex.wordpress.org/Updating_WordPress](http://codex.wordpress.org/Updating_WordPress)
   
   Manual Update, I read: 4: Delete the old wp-includes and wp-admin directories
   on your web host (through your FTP or shell access). 5: Using FTP or your shell
   access, upload the new wp-includes and wp-admin directories to your web host,
   overwriting old files. I don’t mean to be picky, but… are there ‘old files’ to
   overwrite in directories that were just deleted? Or, is deleting those directories
   really necessary? On a local install, I can access the WordPress directory and
   subdirectories directly, like any Windows directory. So, I need neither ‘FTP 
   or shell access’ to update wp-includes and wp-admin directories –is this correct?
   If so, this should be added to the instructions. A tyro never has too much explanation!
   In fact, can ‘Step 1: Replace WordPress files’ be achieved simply by unzipping
   the new version over the old one, specifying the Overwrite option to the unpacking
   software?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [vtxyzzy](https://wordpress.org/support/users/vtxyzzy/)
 * (@vtxyzzy)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/update-in-localhost/#post-4125851)
 * The deletion will just ‘clean up’ the directories by removing files that no longer
   exist in the new versions. Nothing will be left to overwrite.
 * However, you should be sure to back up first, ‘just in case’.
 *  Thread Starter [TAB42](https://wordpress.org/support/users/tab42/)
 * (@tab42)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/update-in-localhost/#post-4125854)
 * OK; thank you.
    Then ‘, overwriting old files’ should be removed to make the 
   explanation simpler and less confusing.
 *  [skotperez](https://wordpress.org/support/users/skotperez/)
 * (@skotperez)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/update-in-localhost/#post-4126002)
 * Hi, it is possible to update automatically in localhost, like in any other server.
 * You just need to set up the user, group and permissions of your WordPress folder
   to let the web server (let’s say Apache) to replace the files. Normally you have
   to assign the web server group to all the files and give write permission to 
   the group. That should be enough. The output of “ls -l” in a UNIX server will
   look something like:
 *     ```
       drwxrwx---  8 your-user www-data     4096 sep 12 11:11 wp-content
       -rw-rw----  1 your-user www-data     3897 sep 12 10:54 wp-config.php
       ```
   
 * Then, if you don’t want to be asked for FTP credentials, include the following
   line in wp-config.php:
 * `define('FS_METHOD','direct');`

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘update in localhost’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [skotperez](https://wordpress.org/support/users/skotperez/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/update-in-localhost/#post-4126002)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
