Installing a Magento 2 Extension

To successfully install a Magento 2 extension, please follow these steps:

  1. Backup your data:

    Before proceeding with any installation, it's crucial to back up your web directory and store database. This ensures you have a safe copy of your data if anything goes wrong during installation. 

  2. Access your store root folder: 

    Using your server's SSH console, navigate to your store's root folder. You can do this by entering the command:
    cd path_to_the_root_folder
    Replace `path_to_the_root_folder` with the path to your store's root folder.

  3. Run the setup upgrade command:

    Execute the following commands to perform the setup upgrade:
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile

    These commands ensure your Magento installation is properly upgraded and ready to incorporate the new extension.

  4. Deploy static content: 

    After upgrading, deploy the static content using the following command:
    php bin/magento setup:static-content:deploy -f
    This step is essential for generating static content required for your extension to function correctly.

  5. Flush store cache:

    To prevent any caching issues, flush the store cache:
    php bin/magento cache:clean
    php bin/magento cache:flush

Reading next

Need further assistance or have questions?

Don't hesitate to reach out to us for support!

Reach Us Here

If you have any questions or suggestions regarding a career in Zest Logic, you can contact our HR department.
Once there's a demand for your skills, we'll get in touch with you.