Ad

liam
asked May 02 2017
Answer
"
The .env file is not yet present because you will first need to create and configure it.
Do the following
#Navigate to the correct folder
$ cd /var/www/laravel
#Copy the example file to make a .env file
$ cp .env.example .env
#Set the parameters
$ vi .env
"

linuxhelp
asked Jan 07 2019
[ErrorException] file_get_contents(/var/www/laravel/.env): failed to open stream: No such file or directory
After the laravel installation, i run php artisan key:generate command. Got the following error.