Install WordPress updates without ftp

If you have wordpress in a local machine and you want update the wordpress version without enable ftp you can add to the wordpress config file wp-config.php this setting:

define('FS_METHOD', 'direct');

remember you need to have permission to write in the wordpress folder. If you have a LAMP server make sure you have the user set to www-data.


Programmer by day and mostly by night as well.