Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Tell me how to enable maintenance mode in laravel 5?



Tell me how to enable maintenance mode in laravel 5?..

Answer / Hemant Gupta

To enable maintenance mode in Laravel 5, you can create a `.env` file in the root of your project and set the APP_DEBUG environment variable to false:
nn```
APP_DEBUG=false
```

Then, add the following lines to the bottom of the `.env` file:

```
MAINTENANCE_MODE=true
MAINTEANCE_MESSAGE=Your custom maintenance message here
```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Laravel PHP Framework Interview Questions

State the difference between codeigniter and laravel.

1 Answers  


How to get current environment in laravel 5?

1 Answers  


Please explain the difference between laravel and codeigniter?

1 Answers  


What is a caas?

1 Answers  


Do you know how to use delete statement in laravel?

1 Answers  


What is the use of object relational mapping?

1 Answers  


What are route parameters?

1 Answers  


How to generate application key in laravel? Why it is neccessary?

1 Answers  


Explain traits in laravel.

1 Answers  


What is illuminate in laravel?

1 Answers  


What is contract in laravel?

1 Answers  


What the server requirements for laravel?

1 Answers  


Categories