Wordpress updates in local environment

Install wordpress updates without ftp in a local environment

If you’re using wordpress in a local environment and you want update the wordpress version without to enable ftp you can add to the wordpress config file wp-config.php with this setup:

define('FS_METHOD', 'direct');

Note: you must have permission to write in the wordpress folder. Using LAMP server make sure you have the user in the same group of www-data.

Leave a comment or contact me via Twitter @huckbit

comments powered by Disqus

Related Posts