Trying to disable all cache types in Magento 2 from System > Tools > Cache Management.
But all I get is the following error:
Deployment config file env.php is not writable.
I tried making app/etc/env.php writable (777) but still no luck.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
First of all connect to your web server with your telnet software.
Change directory with
cd <magento dir>/app/etc
chmod -R 777 /var/www/html/magento/app/etc to change mode for
env.php file to be writable.
sudo chmod -R 777 app/etc/env.php
I hope this helps you !!
I too had the same issue in Magento 2.1.2 with message being returned as "Deployment config file env.php is not writable.".
But it got resolved when I additionally set the write permission for app/etc/config.php apart from the env.php file