no application encryption key has been specified. laravel

Posted by w3diy - 6 months ago

No application encryption key has been specified

How to Solve Error Message No application encryption key has been specified?

Solving the Problem

Error: No Application Encryption Key has been Specified in Laravel

php artisan key:generate

The execution: of the above command exist as follows :

[[email protected] ~]# php artisan key:generate
Application key set successfully.
[[email protected] ~]# 

After this run the following commands to clear the cache.

php artisan config:clear
php artisan confg:cache