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
Asked
Active
Viewed 2,823 times
0
-
Set required write permission to the app/etc folder. Check this for more details https://devdocs.magento.com/guides/v2.4/install-gde/composer.html#set-file-permissions – Rahul Barot Jun 24 '21 at 06:44
-
thank for reply can you give simply command, that is very complicated – arun Jun 24 '21 at 09:22
-
Please check https://magento.stackexchange.com/a/95033/84221 – Rahul Barot Jun 24 '21 at 09:33
-
thank you @RahulBarot – arun Jun 24 '21 at 09:39
-
You're welcome :) – Rahul Barot Jun 24 '21 at 10:02
2 Answers
0
You can use the following command to set the correct permissions:
chmod 644 path/to/magento/app/etc/config.php
Mufaddal Dhansurawala
- 405
- 2
- 9
-1
Give permission to your magento2 package.
sudo chmod 777 -R magento2
where magento is your package inside /var/www/html