{"id":1933,"date":"2017-12-18T08:36:56","date_gmt":"2017-12-18T13:36:56","guid":{"rendered":"https:\/\/easy-admin.ca\/?p=1933"},"modified":"2017-12-18T17:02:21","modified_gmt":"2017-12-18T22:02:21","slug":"cant-install-wordpress-plugin-update-ftp-error","status":"publish","type":"post","link":"https:\/\/easy-admin.ca\/index.php\/2017\/12\/18\/cant-install-wordpress-plugin-update-ftp-error\/","title":{"rendered":"Cannot install WordPress plugin update &#8211; FTP Error"},"content":{"rendered":"<p>I ran into a problem when trying to update plugin in a fresh installed wordpress on a <strong>ClearOS<\/strong> Box! <em><strong>\ud83d\ude09<\/strong><\/em><\/p>\n<p>So I got it working by doing this and then ran this:<\/p>\n<p><code>chown -R apache:apache \/var\/www<br \/>\nfind \/var\/www\/ -type d -exec chmod 755 {} \\;<br \/>\nfind \/var\/www\/ -type f -exec chmod 644 {} \\;<\/code><\/p>\n<p>All working good now.<\/p>\n<p><strong>Optional :<\/strong> Add define(&#8216;FSMETHOD&#8217;, &#8216;direct&#8217;); in wp-config.php<br \/>\nNot recommended for obvious Security issues!<\/p>\n<p><strong>OLD NOTES :<\/strong> as long as you have one (1) site apache is Ok, but when you have more sites you should never give them the same user, regardless if using the direct FS_METHOD in your wp-config or not. Why? If <em><strong>one site is hacked<\/strong><\/em> all others will be too.<\/p>\n<p>We are in a Virtual Server Era now&#8230; will investigate this!<\/p>\n<p><em><strong>Enjoy!<\/strong><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I ran into a problem when trying to update plugin in a fresh installed wordpress on a ClearOS Box! \ud83d\ude09 So I got it working by doing this and then ran this: chown -R apache:apache \/var\/www find \/var\/www\/ -type d -exec chmod 755 {} \\; find \/var\/www\/ -type f -exec chmod 644 {} \\; All &hellip; <a href=\"https:\/\/easy-admin.ca\/index.php\/2017\/12\/18\/cant-install-wordpress-plugin-update-ftp-error\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Cannot install WordPress plugin update &#8211; FTP Error<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Cannot install WordPress plugin update - FTP Error - HP Server","description":"I ran into a problem when trying to update plugin in a fresh installed wordpress on a ClearOS Box! ;-) So I got it working by doing this and then ran this: chow"},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1933","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/1933","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/comments?post=1933"}],"version-history":[{"count":0,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/1933\/revisions"}],"wp:attachment":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/media?parent=1933"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/categories?post=1933"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/tags?post=1933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}