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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is current stable version of laravel?

845


What is latest version of laravel?

855


Do you know what version of laravel do you generally use?

817


How much laravel experience do you have?

804


Tell us have you used lumen before?

799