Can't install or update plugins

Posted October 2, 2019 850 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?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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?