Question

I tried to put my website into Production mode.

For this, I used the following command on SSH but it get stuck.

php bin/magento deploy:mode:set production

Please refer to the following screenshot.

enter image description here

Was it helpful?

Solution

Please try following command to skip compilation, so you can directly set production mode without any compilation or static content deploy.

php bin/magento deploy:mode:set production --skip-compilation

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top