cancel
Showing results for 
Search instead for 
Did you mean: 

To install an extension in production mode

Highlighted

To install an extension in production mode

Hello,

I have a question.

I have developed my site using Magento 2.1.11.

During development, I had installed the theme, extensions etc in default mode.

When the site was ready,  I changed the mode to Production.

Now, my question is, If I want to install an extension, Is it OK to install it in Production mode or should I change the mode. I know that in developer mode errors are shown in browser, in Production mode it is not. I just want to know that Is it OK to use Production mode to install extensions etc.

Thanks

2 REPLIES

Re: To install an extension in production mode

It is perfectly alright.

 

Once you install (read copy) your extension run these commands:

 

php bin/magento setup:upgrade

php bin/magento deploy:mode:set production

 

and you should be good to go.

 

Re: To install an extension in production mode

Thanks for reply kgerasimov.

I appreciate this very much.