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

See Magento 2

Comments

Leave a Reply

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