WordPress Themes and Plugins Installation Problem
WordPress plugins and themes installation problem
Step 1 – Add the following line at the end of wp-config.php file
define('FS_METHOD', 'direct');
Step 2 – Give 777 recursive permission to wp-content folder
chmod -R 777 wp-content
Then you need to increase the size of followings –
upload_max_size
post_max_size
max_execution_size
etc. and restart the apache service
OR
Best Solution:
Simply give www-data user to user and group onwership to website serving directory