wordpress wants ftp information to update plugins
January 30th, 2009 by Lawrence David
if you get these errors when trying to have wordpress automatically update your plugins:
“To perform the requested action, connection information is required”
“Failed to connect to FTP Server“
try making sure that your webserver owns your wordpress directory. i fixed everything by going to the root of my wordpress directory and entering:
/home/wordpress/> sudo chown -R www-data:www-data *
this works as long as you are in a Debian or Debian based installation.
The “webserver” user for Debian based distros is “www-data”
But for CentOS / RedHat / Fedora, the user is: “apache”
It is useful to note that it may vary.
Thanks.
if you run something other than debian, take a look at ‘top’ while apache is running to see what user account it uses.
On MacOS X the user is _www.
Great! My problem is solved.
Thanks a lot
Thanks a ton. I wish the docs/forums at wordpress.org had this information.
Be aware that while this method does make WP auto updates work, it can open a can of worms that will cause you frustration and possible security risks down the road.
There is a great article at nerdgrind.com that shows you a better way and illustrates the security risks you will find with other methods.
http://www.nerdgrind.com/wordpress-automatic-upgrade-plugin-failed-or-not-working/
http://www.nerdgrind.com/wordpress-automatic-upgrade-plugin-failed-or-not-working/
This nerdgrind link is brilliant – much more useful than the wordpress forum. Just wish I found it first!
WordPress Automatic Upgrade Plugin Failed or Not Working
Wonderful go through because I was unsure what to do and just found my personal remedy
FUCK YES
Thank you so much alfredo. Your tip finally made it work. :3
Now I gotta go restore default permissions somehow…
Thank you. It works like a charm on Ubuntu 11.10