This is user’s permission problem that will be solved by method given below that worked for me.
step-1 : First open wp-config.php file of your wordpress installation folder.
step-2: Copy below code and paste it at the end of the wp-config.php file.
define('FS_METHOD','direct');
step-3: Now open your server access console and enter root as username and its password.
step-4: Copy below code and paste it into access console where you have to specify your plugin directory path and then hit enter.
chmod 777 /yourwebsitename/public/wp-content/plugins/
Note: Replace your website name in the place of yourwebsitename.
Thank you.
-
This reply was modified 6 years, 11 months ago by
wppundit.
Allow permission from your host side or you can simply login to your admin and then after you can install the plugin from plugin add new
This is user’s permission problem that will be solved by method given below that worked for me.
step-1 : First open wp-config.php file of your wordpress installation folder.
step-2: Copy below code and paste it at the end of the wp-config.php file.
define(‘FS_METHOD’,’direct’);
step-3: Now open your droplet access console and enter root as username and its password.
step-4: Copy below code and paste it into access console where you have to specify your plugin directory path and then hit enter.
chmod 777 /yourwebsitename/public/wp-content/plugins/
Note: Replace your website name in the place of yourwebsitename.
Thank you.
Source: https://www.digitalocean.com/community/questions/wordpress-asking-for-ftp-credentials
https://www.realesaletter.com
https://stackoverflow.com/questions/17922644/wordpress-asking-for-my-ftp-credentials-to-install-plugins/22518031
thank you for your responses! We will be checking them out.