Is there a way to enable and disable extensions in version 1.x via the command line?
How can I enable an extension through terminal?
What is the command?
There is no CLI command for Magento 1 extensions as this was added in Magento 2. If you check the file from the installed extension found in app/etc/modules/Vendor_Module.xml
, there will be a node <active>true</active>
that should be true
when enabled and false
when disabled. Additionally, there is a data-value in core_config_data
for each module that should be 0
if the extension is enabled and 1
when it is disabled. You can select that with the following query:
SELECT *
FROM core_config_data
WHERE path = 'advanced/modules_disable_output/Vendor_Module';
From there, just make sure your cache is cleared, log out & back in.
WHERE path = 'advanced/modules_disable_output/Amit_Cleancache';
. Also, make sure to log out and back in after clearing the cache.
Admin->System->Configuration->Advanced->Disable Modules Output
, then find your module and make sure it is set to Enable
. It might also be wise to check values under different Configuration Scopes (dropdown at top-left) to make sure it is not being overridden.
You can use this tool: https://github.com/netz98/n98-magerun
$ n98-magerun.phar dev:module:disable MyVendor_MyModule
$ n98-magerun.phar dev:module:disable --codepool="community"