Magento 2 | How to set production mode manually

In magento 2 probubly have permission issues with server. if you are not able to set production mode by CLI command you can follow below changes.

open your magento 2 root dirctory, Open file "/app/etc/evn.php" and search "'MAGE_MODE' =>". you can change your mgento mode here manually.

CLI command for production mode

magento deploy:mode:set production

CLI command for developer mode

magento deploy:mode:set developer

Magento 2 all types

 Magento 2 is available in different editions based on business needs. Here are all the types of Magento 2 : 1. Magento Open Source (former...

Popular Posts

Posts