laravel no application encryption key has been specified - fixed

Are you fetching same issue as live bellow that i fetched : " RuntimeException

No application encryption key has been specified." , Few days ago i just download laravel 5.5 and then i copy and give my friend but when he run project he got following error as i gave you previously.

So i was thinking how will issue, finally i found i lose .env file i can't see i don't know why. So i simply copy .env.example

file and paste .env file. then again i gun but same result.

Then i got it we have to generate application key because i don't have "APP_KEY" variable value in evn file so let's run bellow command to generate application key:

php artisan key:generate

After run successfully above command you will see new generate app key on .env file. So let's see now :)

September 14, 2017 | Category : PHPLaravel
Related Posts

Blog Search