Title: WordPress/plugin upgrade
Last modified: August 19, 2016

---

# WordPress/plugin upgrade

 *  [noodles25](https://wordpress.org/support/users/noodles25/)
 * (@noodles25)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/wordpressplugin-upgrade/)
 * This has probably been brought up somewhere, but a search did not bring up anything.
 * It’s great that WordPress 2.7 has an auto core upgrade, but is it possible to
   upgrade wordpress/plugins without using ftp? Surely it would be easy enough to
   use file_get_contents to grab the tar.gz file and process it from there without
   having to deal with ftp.
 * I’m sure some people this option won’t work for, but at least give us the option
   to download directly rather than via ftp.
 * Thanks

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

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/wordpressplugin-upgrade/#post-911780)
 * you can already upgrade plugins from the plugin page automatically. It even tells
   you when you need an update.
 *  Thread Starter [noodles25](https://wordpress.org/support/users/noodles25/)
 * (@noodles25)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/wordpressplugin-upgrade/#post-911938)
 * I must be missing some sort of setting or server setup. I know you can automatically
   update plugins etc, but when I go to the page I get “To perform the requested
   action, connection information is required.”
 * I have seen on other hosts that it does this automatically though.
 *  [RaymondDay](https://wordpress.org/support/users/raymondday/)
 * (@raymondday)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/wordpressplugin-upgrade/#post-912117)
 * I get this too. It auto fills in the Hostname and Username. I put in my WordPress
   Password and have FTPS (SSL) check and I do have 990 port open. But when I click
   Proceed it comes back with:
 * **Failed to connect to FTP Server** and my Hostname. but it don’t say FTPS I 
   don’t have the FTP open.
 * I even put in my IP not the name but it still does a connect error.
 * -Raymond Day
 *  [Rafael Arcanjo](https://wordpress.org/support/users/arcanj0/)
 * (@arcanj0)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/wordpressplugin-upgrade/#post-912164)
 * I got the same “To perform the requested action, connection information is required”
   in my 1st blog, but in my 2nd blog it upgrades and don’t ask-me about my password.
 * Some help ?
 *  [siggma](https://wordpress.org/support/users/siggma/)
 * (@siggma)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/wordpressplugin-upgrade/#post-912167)
 * Same here. I have another blog on the same server that works fine so where is
   the upgrade or upload setting?
 *  [siggma](https://wordpress.org/support/users/siggma/)
 * (@siggma)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/wordpressplugin-upgrade/#post-912168)
 * **…SOLVED…**
    It’s apparently dependent on the file owner and/or permissions.
   After making sure I’m the owner of all files in the /wordpress tree the upgrade
   process no longer asks for ftp connection information and upgrades both wordpress
   and auto upgrade plugins correctly.
 * To make sure the webserver is the owner I use “_chown -R www-data:www-data /var/
   www_” on my Debian home server. For Hosted sites it’s unlikely it’s an owner 
   issue. I use a local network to manipulate files so sometimes they end up being
   created and owned by root.
 * From FTP it may be that you need to change all files to 0777 rwxrwxrwx (Owner,
   Group and Public Read, Write, Execute) using chmod or your favorite FTP program.
   Then try the upgrade again.
 * Once the upgrade is finished it’s a good idea to set permissions back to default,
   which **should** be sufficient to do the upgrade correctly. I believe the WordPress
   default permission is 644 (rw-r–r–) which means owner can read, write and execute,
   and group and public can only read. For security purposes it’s a good idea to
   at least be sure you wp-settings.php is set this way in case php barfs and spews
   your database login information all over the net. 😉
    -Tom
 *  [spectre240sx](https://wordpress.org/support/users/spectre240sx/)
 * (@spectre240sx)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/wordpressplugin-upgrade/#post-912183)
 * I’m having trouble with this as well. I’m a bit bothered that there doesn’t seem
   to be any documentation about how this feature works. I looked through the docs
   section and the feature isn’t even mentioned. I’ve given www-data write access
   to the plug-ins directory, but it doesn’t seem to have made any difference.
 * edit: I just noticed that it asks for FTP information even if I upload a zip 
   file. Something’s not right here.
 *  [CaliVW78](https://wordpress.org/support/users/calivw78/)
 * (@calivw78)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/wordpressplugin-upgrade/#post-912187)
 * siggma…. changing ownership worked like a champ! thanks
 *  [spectre240sx](https://wordpress.org/support/users/spectre240sx/)
 * (@spectre240sx)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/wordpressplugin-upgrade/#post-912190)
 * I went back and changed the permissions on the entire wordpress directory and
   things are working now. I’ve got to admit, this doesn’t feel very secure to me.
   Does anyone know what actually needs to be writable by www-data?
 *  [rosschapman](https://wordpress.org/support/users/rosschapman/)
 * (@rosschapman)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/wordpressplugin-upgrade/#post-912197)
 * This article may be helpful in explaining what files need permissions changed:
 * [http://www.chrisabernethy.com/why-wordpress-asks-connection-info/](http://www.chrisabernethy.com/why-wordpress-asks-connection-info/)
 *  [molotovbliss](https://wordpress.org/support/users/molotovbliss/)
 * (@molotovbliss)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/wordpressplugin-upgrade/#post-912207)
 * Thanks, Just supply your FTP account that can overwrite and/or modify the plug-
   ins files, basically the same FTP information to your site. CHMOD -R 777 all 
   files isn’t exactly very secure, especially on shared hosting.
 *  [thinkweird](https://wordpress.org/support/users/thinkweird/)
 * (@thinkweird)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/wordpressplugin-upgrade/#post-912238)
 * siggma:
 * I am using Debian as well, and chown -R www-data:www-data /var/www works like
   a charm.
 * I didn’t even change the file permissions.
 *  [Ale Urrutia](https://wordpress.org/support/users/alectro/)
 * (@alectro)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/wordpressplugin-upgrade/#post-912240)
 * I did change file permissions to _0777_ and used _“chown -R www-data:www-data/
   var/www”_ but what I got is an error message: _“500?”_
 * My wordpress is installed on the site root folder (www/).
 *  [marc_m](https://wordpress.org/support/users/marc_m/)
 * (@marc_m)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/wordpressplugin-upgrade/#post-912253)
 * [@siggma](https://wordpress.org/support/users/siggma/) Nice one, thanks! Hadn’t
   noticed some of my directory ownerships were wonky. Fixed it for me.
 *  [ripper2600](https://wordpress.org/support/users/ripper2600/)
 * (@ripper2600)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/wordpressplugin-upgrade/#post-912269)
 * 1. Check under which users is running your http server
    [root@rippervp pro-soccer]#
   ps aux | grep -i http apache 1898 0.3 5.5 306092 43732 ? S 10:13 0:04 /usr/sbin/
   httpd Im my case httpd is running under username _apache_ 2. Change ownership
   of your wordpress directory chown -R apache:apache public_html/
 * I’m using centos 5

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

The topic ‘WordPress/plugin upgrade’ is closed to new replies.

## Tags

 * [ftp](https://wordpress.org/support/topic-tag/ftp/)
 * [upgrade](https://wordpress.org/support/topic-tag/upgrade/)

 * In: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
 * 15 replies
 * 13 participants
 * Last reply from: [ripper2600](https://wordpress.org/support/users/ripper2600/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/wordpressplugin-upgrade/#post-912269)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
