AvantimeGroup / UbuntuServerSetup

Some utils script to set up an LAMP server on ubuntu
0 stars 0 forks source link

Cannot install plugins. #9

Open lilumi opened 9 years ago

lilumi commented 9 years ago

Even with option define('FS_METHOD', 'direct');

plugin installation fails

slowmove commented 9 years ago

@lilumi adjust permissions accordingly and report back to me

lilumi commented 9 years ago

Done. For make install plugins possible need commands : sudo chown -R root:www-data /var/www/audioguider_com sudo chmod -R g+w /var/www/audioguider_com/wp-content

add to wp-config.php: define('FS_METHOD', 'direct');

slowmove commented 9 years ago

@lilumi root should not be the owner !

lilumi commented 9 years ago

@slowmove who needs to be owner ?

slowmove commented 9 years ago

@lilumi the web server seems reasonable. The root should never be the owner.