Download plugin within WordPress, WordPress itself ask me for credentials from my server

Help me, I was able to download wordpress with LAMP in a different way of tutorial, but I want to download the plugins like woocommerce, elemetor and to download any plugins, wordpress asks me for credecianles from my server.

Tap the credentials as I enter my droplet but I get failed or what are the respective credentials to request WordPress.

=======WORDPRESS====== 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.

  • Hostname:
  • FTP/SSH Username:
  • FTP/SSH Password: (This password will not be stored on the server)

Connection Type;

  • FTP:
  • FTPS (SSL):
  • SSH2

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hi there,

This usually happens when the user that the Apache service runs as does not have write access to the wp-content folder.

You need to make sure that the user has the write access so that you could upload plugins via your WordPress admin area.

To find the user you could run:

ps aux | grep -i apache

Usually it should be www-data by default.

Then set the ownership fo the files and directories for your WordPress installation accordingly:

sudo chown www-data:www-data /var/www/html

In case that your WordPress installation is not at /var/www/html make sure to adjust this to match the correct path.

Regards, Bobby