WordPress & Plugin version not updating on amazon-ec2 -


i have word press site in amazon ec2 instance.i getting issue installation , updating plugin.

issue:-

1)when try install plugin wp-admin backend.it's show bellow error every time need upload plugin manually on server , need activate wp-admin backend.

unpacking package… not create directory. 

2)when try update plugin & wordpress wp-admin backend.it's show bellow error

 update plugin  downloading update …  unpacking update…  not create directory. 

my word press file permission structure bellow:-

wp-content-> "755"

plugins-> "755"

plugins->e.g(captcha) "755"

and under captcha plugin file have-> "664" permission.

if have body idea regarding issue let me know.

the answer appreciated.

i have searched through google didn't find solution.

that mean issue here apache not have access folders. default permission given ec2-user in ami.

run in terminal , ready go update,install plugin , wordpress.

sudo chown -r apache:apache /var/www/html 

in case when updating plugin , word press if wp-admin asking ftp credential add bellow snippet code in wp-config file .

define('fs_method', 'direct'); 

and run command.

sudo chown -r apache:apache /var/www/html 

Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -