And maybe because of the .env file don't shows, when "https://project.test/" is accessed it shows "Whoops, looks like something went wrong." error.
Sep 3, 2018
4
Level 1
.env file dont appears in project folder
I copied the files of a Laravel project into another folder with the command cp -r project/ ../Documents/project to store the Laravel project "project" in the /Documents/project.
However, the ".env" was not copied and now also the .env file doesn't appear on the project folder, on the IDE.
Do you know how to solve this issue? How to get the .env file??
Level 67
in shell, go to the dir where the files originally were any do ls -alh. Is .env there? If so, explicitly copy it (while in same dir) cp .env /path/to/destination/
1 like
Please or to participate in this conversation.