How to update wordpress without providing ftp access

You need to set the permissions on the wp-content so that your webserver can write:

chown -R www-data:www-data wp-content
chmod -R 755 wp-content

Then set the following configuration the your wp-config.php

define('FS_METHOD', 'direct');

Leave a Reply