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?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
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.
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"