Support the ongoing development of Laravel.io →
Installation Configuration
Last updated 1 year ago.
0

I believe Laravel/5 defaults to production settings. Not all environment configurations are the same for example; in my development environment I use an SQLite database, debug set to true. And in my testing environment I use MySQL and debug set to true and lastly in production it is MySQL with debug turned off.

Not to mention further optional stuff like caching, email settings etc...

Can be many reasons to have a ".env" file that is not in revision control.

Hope it helps.

0

Thanks, but I asked about the file "environment.php"

I do not use it and my environment works perfectly

that to create this file? environment.php

Last updated 8 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Fabyo fabyo Joined 27 Apr 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.