amazon EC2 - How to make wp-config.php to writable?


amazon EC2 - How to make wp-config.php to writable?



I'm using Amazon EC2 with Bitnami wordpress.



I recently tried to use plugins, they install and activate well, but there are still errors. Those errors look like permission errors.



Also, perhaps, how to make the whole wordpress directory writable?
I'm only accessing through SSH.



Some of the errors:



"A definition of a siteurl or homeurl was detected in your wp-config.php, but the file is not writable.



Set your wp-config.php to writable and reload this page."



From W3 total Cache:



W3 total cache error





Please add the error messages you get back.
– Damien
Feb 8 '17 at 12:42





one is: " A definition of a siteurl or homeurl was detected in your wp-config.php, but the file is not writable. Set your wp-config.php to writable and reload this page."
– ravagingbacon
Feb 8 '17 at 12:45





I would recommend updating your question with all the errors.
– Damien
Feb 8 '17 at 12:46




1 Answer
1



Your FTP user doesn't have write permission to the folder.



you can add this line to your wp-config.php


define('FS_METHOD','direct');



assign wordpress folder bitnami:daemon and assign 775 permission


sudo chown -R bitnami:daemon wordpressfolder
sudo chmod -R 775 wordpressfolder






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

How to make file upload 'Required' in Contact Form 7?

Rothschild family