WordPress – Update core/plugins without FTP

updatebanner

Ever wanted to update your wordpress core & plugins from admin ๐Ÿ˜€ ? this fix to allow WordPress automatic plugin installation/update without FTP:

A) Changed the owner and permissions for the entire WordPress installation, assuming you installed WordPress in /Users//Sites:

$ cd /Users/<username>/Sites #or path to parent directory of your source code directory

$ sudo chown -R :_www wordpress

$ sudo chmod -R g+w wordpress

B) Added the following to /Users//Sites/wordpress/wp-config.php:

define('FS_METHOD','direct');

finally, click update button in your wordpress back-end – this is what you really wanted, right ? ๐Ÿ˜‰

1 Comment

Leave a Comment