{"id":17541,"date":"2011-02-22T22:55:11","date_gmt":"2011-02-22T17:25:11","guid":{"rendered":"https:\/\/www.quickonlinetips.com\/archives\/?p=17541"},"modified":"2020-05-24T10:21:53","modified_gmt":"2020-05-24T04:51:53","slug":"fix-ftp-connection-information-wordpress-plugin-upgrades","status":"publish","type":"post","link":"https:\/\/www.quickonlinetips.com\/archives\/2011\/02\/fix-ftp-connection-information-wordpress-plugin-upgrades\/","title":{"rendered":"Fix FTP Connection Information Error on WordPress Plugin Upgrades"},"content":{"rendered":"<p>Are you always required to input <strong>FTP Connection Information<\/strong> for WordPress Plugin Upgrades and WordPress upgrades? WordPress has made it actually a one click process, but still many bloggers are stuck with this.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-17551\" title=\"wordpress-upgrade-error\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/wordpress-upgrade-error.png\" alt=\"wordpress upgrade error\" width=\"400\" height=\"276\" border=\"1\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/wordpress-upgrade-error.png 400w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/wordpress-upgrade-error-150x103.png 150w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/wordpress-upgrade-error-300x207.png 300w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>We too have been experiencing this FTP Connection Information required alert everytime we want to upgrade WordPress or upgrade WordPress plugins or install WordPress plugins. And for some strange reason, even after entering the correct information, it would often simply <em>time out<\/em>. We had to do manual FTP upgrades everytime.<\/p>\n<h3>WordPress FTP Connection Information<\/h3>\n<p>But as I started to plan a few new sites on <a href=\"https:\/\/www.quickonlinetips.com\/go\/hostgator\" rel=\"nofollow\">Hostgator<\/a>, I realized how simple and efficiently WordPress one click upgrades work there. I realized it was some hosting related issue, and was a lot to do with <a href=\"https:\/\/codex.wordpress.org\/Changing_File_Permissions\" rel=\"noopener\">WordPress file permissions<\/a> and file ownership &#8211; so we contacted our excellent <a href=\"https:\/\/www.quickonlinetips.com\/go\/knownhost\" rel=\"nofollow\">Knownhost VPS hosting<\/a>, and as usual their <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2009\/06\/knownhost-tech-support\/\">excellent\u00a0knowledgeable\u00a0 support<\/a> had the answers.<\/p>\n<blockquote><p>PHP on your server is running as DSO and hence the plugin installations or wordpress upgrade will be one under the apache user and this is why you will have to correct the permissions each time you are installing plugins. \u00a0To resolve the issue completely, <strong>suPHP should be enabled on the server<\/strong>. If <a href=\"http:\/\/www.suphp.org\/Home.html\" rel=\"noopener\">suPHP<\/a> is enabled on the server then the PHP scripts will be running under the ownership of the account user. So the php scripts will create the directories\/files with the account ownership.<\/p><\/blockquote>\n<p>Well so they did a <strong>recompilation of Apache\/PHP<\/strong> and <strong>enabled suPHP<\/strong> on the server. It took 1 hour, there was no downtime and the FTP Connection Information Errors were gone forever and WordPress one click installs and upgrades were working just fine. Now you can fix it too.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you always required to input FTP Connection Information for WordPress Plugin Upgrades and WordPress upgrades? WordPress has made it&#8230;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[1],"tags":[49,17],"class_list":["post-17541","post","type-post","status-publish","format-standard","hentry","category-tips","tag-tutorials","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/17541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/comments?post=17541"}],"version-history":[{"count":0,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/17541\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media?parent=17541"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/categories?post=17541"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/tags?post=17541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}