Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 452
ravagingbacon Avatar asked Sep 18 '25 19:09

ravagingbacon


1 Answers

To enable it, please enter the following commands:

sudo chmod 664 /opt/bitnami/wordpress/wp-config.php
sudo /opt/bitnami/ctlscript.sh restart apache

Good luck

like image 75
melwinpintoe Avatar answered Sep 20 '25 08:09

melwinpintoe