Can't install or update plugins

October 2, 2019 59 views

I keep getting this message when trying to install or update my plugins:

Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP or SSH credentials to proceed. If you do not remember your credentials, you should contact your web host.

I’ve updated the permissions of the var/www folder but still, nothing is working.

What else could I try?

1 Answer


I would recommend trying to add this to wp-config.php:

define( 'FS_METHOD', 'direct' );

If this does not work then it is almost certain that it is a problem with your permissions. What are the exact permissions that you currently have?


Have another answer? Share your knowledge.