Hello guys, I am back with a new article. Actually, this article is just a solving a problem that is in laravel 5.5 installation. In this article, you will find the solution of a common issue you might experience while working with Laravel 5.5 application.
RuntimeException No application encryption key has been specified.
Some of you faced this problem after creating a new laravel project and when you run this in browser. You can easily fix this issue by running following artisan command to generate new random key for your application by using this command :
$ php artisan key:generate
Run this command in your root directory of your laravel project and this will generate an encryption key, add this key to your .env file and then run your application.
Related posts