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.
cachemagento2
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.
Best Answer
First of all connect to your web server with your telnet software.
Change directory with
cd <magento dir>/app/etc
Type
chmod -R 777 /var/www/html/magento/app/etc
to change mode forenv.php
file to be writable.I hope this helps you !!