i want to change from developer to production, but i can't because i get an error that exec function is disabled and my host will not enable it.
What are the actions taking place when you type
bin/magento deploy:mode:set production
Can I do it step by step with these commands?
- bin/magento setup:static-content:deploy
- bin/magento setup:di:compile
- Enable production mode through .htaccess
Is there anything else i have to do in order to have the same result?
Best Answer
you can follow below steps
go to
app/etc/env.php
fileSet
MAGE_MODE' => 'production'
Run below commands