Set Magento 2 in Production Mode

To see current mode in Magento 2, run

php bin/magento deploy:mode:show

Example

Magento 2 mode

To set Magento 2 in production mode, run

Advertisement

php bin/magento deploy:mode:set production
Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement