EddyTheDove
EddyTheDove

Reputation: 13259

Locate env.example in Laravel 5

I am trying to rename .env.example to .env but I cannot locate such file/folder in my new Laravel 5 Project. Not to mention I am just starting with Laravel framework.

I am trying to fix the error: "Whoops, looks like something went wrong" when accessign laravel/public

Upvotes: 1

Views: 3165

Answers (2)

Excellence Ilesanmi
Excellence Ilesanmi

Reputation: 3535

.env.example is present in every laravel 5 app. It may be hidden considering that it is prefixed with a dot;

Upvotes: 0

lukasgeiter
lukasgeiter

Reputation: 153030

Usually it should be at the very root of the default Laravel installation. Like:

 - /app
 - /bootstrap
 - /...
 - /tests
 - .env.example     <<<<<
 - .gitattributes

If yours is missing for some reason, you can just grab the .example from github:
laravel/laravel - .env.example

Upvotes: 1

Related Questions