Thursday, August 31, 2017

Magento2 Enable / disable Modules Using Command Line



Step 1: First of all, connect to your web server via SSH. Using putty or any SSH client.

Step 2: Once your SSH connection is established, you will need to navigate to your Magento 2 ROOT directory.

Step 3:
 php bin/magento module:disable Exstions_Name  

Step 4: Check Module Status
 php bin/magento module:status  

Step 5: Now follow the order and use the following commands
 rm -rf var/generation, var/cache, var/page_cache, var/view_preprocessed, var/di  
 php bin/magento setup:upgrade   
 php bin/magento setup:di:compile   
 php bin/magento setup:static-content:deploy  
 php bin/magento cache:clean   
 php bin/magento cache:flush   
 php bin/magento indexer:reindex  

No comments:

Post a Comment