i try to install module after command run php bin/magento setup:upgrade error show -> updating modules: the "config.php" deployment config file isn't writable please can you help
-
Set required write permission to the app/etc folder. Check this for more details devdocs.magento.com/guides/v2.4/install-gde/…– Rahul BarotJun 24, 2021 at 6:44
-
thank for reply can you give simply command, that is very complicated– arunJun 24, 2021 at 9:22
-
Please check magento.stackexchange.com/a/95033/84221– Rahul BarotJun 24, 2021 at 9:33
-
thank you @RahulBarot– arunJun 24, 2021 at 9:39
-
You're welcome :)– Rahul BarotJun 24, 2021 at 10:02
2 Answers
You can use the following command to set the correct permissions:
chmod 644 path/to/magento/app/etc/config.php
Give permission to your magento2 package.
sudo chmod 777 -R magento2
where magento is your package inside /var/www/html