How to enable or disable maintaince mode in laravel.



How to enable or disable maintaince mode in laravel...

Answer / Jay Vardhan Hemant

To enable maintenance mode in Laravel, add the following line to your `.env` file: `APP_DOWNTIME=true`. To disable it, change `APP_DOWNTIME=true` to `APP_DOWNTIME=false`. This will show a custom maintaince page when visiting the website.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Laravel PHP Framework Interview Questions

What is csrf protection?

1 Answers  


Can I use react with laravel?

1 Answers  


What are all the different Route Parameters ?

1 Answers  


What are policies classes?

1 Answers  


How to create migrations in laravel? Explain step by steps.

1 Answers  


How install react js in laravel?

1 Answers  


What is api php in laravel?

1 Answers  


What is csrf protection in laravel?

1 Answers  


Can you update homestead?

1 Answers  


What are the differences between laravel and codeigniter?

1 Answers  


What is meant by Retrieving Input ?

2 Answers  


What is an observer in laravel?

1 Answers  


Categories