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.4.8 released with new features.

 Magento 2.4.8 Released: What’s New and Improved Magento 2.4.8 (Adobe Commerce and Open Source) was officially released in June 2024 , brin...

Popular Posts

Posts