ChristieMADE.com
  • Home
  • Portfolio
  • Blog
  • Contact
  • Menu Menu

Tag Archive for: updates

Posts

WordPress Requires FTP info to perform updates within Admin

by Christie
April 11, 2017

Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

I’ve seen this far too many times on WordPress sites, and for a long time struggled with the solution.  I finally figured it out and since I use it without trouble every time now, I simply have to share.  While there are many things that could cause the error, in all the cases I’ve experienced, it’s been a problem with the owner of the WordPress files on the Apache server.  So the solution involves connecting to the site through SSH.  Navigate to your wordpress directory.

  1.  Find out who the web user is on your copy of apache by running this command: ps aux | egrep ‘(apache|httpd)’
    You should get a list of files and their owner, and the most common owner name will be what you want to use.  It’s probably something like ‘apache’ or ‘www-data’ or ‘root’, but for this purposes of this explanation, I will assume it is ‘www-data’.
  2. Assuming your wordpress installation is in an htdocs folder, the first thing you want to do is reset the ownership of all the wordpress files to this web user:
    chown -R www-data htdocs/
  3. Maybe not required, but you can also change the group ownership of all the wordpress files:
    chgrp -R www-data htdocs/
  4. And finally, give full privilege for the directory:
    chmod u+wrx htdocs/*

Hopefully you, like me, will now magically have back the ability to keep WordPress automatically updated again!

0 Comments
how-tos, problems & solutions, wordpress
apache, connection, credentials, ftp, ssh, updates, wordpress

Categories

  • great links
  • how-tos
  • problems & solutions
    • back-end
    • drupal
    • jquery
    • wordpress
  • recommendations

Tags

ajax animation apache audio captcha colorbox CSS css3 domain management drupal Elementor Enfold godaddy google hosting Hosting Configuration hosting management HTML iis JavaScript jQuery Languages Launch maintenance Mato Microsoft Word Network Solutions Pantheon Parallax php php.ini podcast recaptcha recaptcha v3 responsive scss server slideshow submenu SVG transfer Translation vimeo wordpress WPML
Search Search

Recent Comments

  • Mike Armani on Avoid GoDaddy’s Dedicated Server
  • Nathan on Image Alignment Doesn’t Work in TinyMCE

Archives

  • September 2019
  • April 2017
  • September 2011
  • May 2010
  • February 2010
  • May 2009
  • April 2009
  • February 2009
  • January 2009
  • September 2008
  • August 2008
  • July 2008
© 1999-2026 ChristieMADE.com
  • Link to X
Scroll to top Scroll to top Scroll to top