Home Laravel No Application Encryption Key Has Been Specified – Laravel

No Application Encryption Key Has Been Specified – Laravel

by Shahriar Sagor

Hello Dev, Today now in this tutorial i will give you an example of no application encryption key has been specified. in laravel. Now in this tutorial i will give you a very simple example of laravel no application encryption key has been specified. So here i will look at an example of laravel 500 error no application encryption key has been specified.

Solution:

I have to generate the app key by using laravel artisan command. So let’s run the below command.

php artisan key:generate

Then i will see on the following .env file with updated the value on APP_KEY variable.

.env

APP_KEY=base64:P9r5RXnghdhnhohddh2HDhBkPGnbLClYiRLx02QG0V6Tw=

Read Also: php artisan serve not working in Laravel

Thanks for read. I hope it help you. For more you can follow us on facebook

close

You may also like