Unable to change value in config.php
-
08-03-2021 - |
Pregunta
I have a Magento Cloud server. In which I need to disable a Module. From my local environment, I have changed the app/etc/config.php "My_Module" => 0.
And committed the changes. But my changes not moved to the cloud server.
Can anyone help me with this?
Solución 3
The issue due to Disk Space not enough to run the deploy on Cloud Server. Hence we couldn't disable the module.
Otros consejos
I would recommend running the php bin/magento module:disable
command in a local checkout of your code to ensure that the proper module name is used as it is possible it is not matching approrpiately. This will add the MyCompany_MyModule => 0
to the config.php. After that, git add/commit the updated config.php and it should be disabled!
Try to disable using command line
command :- php bin/magento module:disable My_Module