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

php bin/magento deploy:mode:set production

Leave a Comment

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

Open chat