Loading...


Related Products


Why can’t I save changes made to settings.php?

After Drupal is installed, the settings.php file gets write-protected. On the Cloud Platform, this is not an issue as the filesystem is read-only. However, in Cloud IDE, as you can edit files, you might run into this issue.

To make Drupal’s settings.php writable, run the following command from within the project directory:

ide:~/project $ chmod 644 docroot/sites/[yoursite]/settings.php

Once your changes are made, run the following command to make the file write-protected again:

ide:~/project $ chmod 444 docroot/sites/[yoursite]/settings.php

Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Back to Section navigation