install plugin in wordpress show ftp popup code example
Example 1: wordpress asking for ftp credentials
define('FS_METHOD','direct');
Example 2: wordpress asking for ftp credentials
chmod 777 /yourwebsitename/public/wp-content/plugins/
define('FS_METHOD','direct');
chmod 777 /yourwebsitename/public/wp-content/plugins/