Hi if you don't have FTP access to your wordpress server yow follow below steps to Install/Update Wordpress plugins from wordpress admin panel
step1 : Change "wp-content" folder permissions to 777
sudo chmod -R 777 wp-content
step2 : In "wp-config.php" file add define('FS_METHOD', 'direct');
example :
......
......
/** MySQL hostname */
define('DB_HOST', 'localhost');
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
define('FS_METHOD', 'direct');
.........
.........
step1 : Change "wp-content" folder permissions to 777
sudo chmod -R 777 wp-content
step2 : In "wp-config.php" file add define('FS_METHOD', 'direct');
example :
......
......
/** MySQL hostname */
define('DB_HOST', 'localhost');
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
define('FS_METHOD', 'direct');
.........
.........
No comments:
Post a Comment