No Application Encryption Key Has Been Specified

前端 未结 20 1764
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-30 17:11

I\'m new to Laravel and I\'m trying to use the Artisan command...

php artisan serve

It displays...

Laravel developme

20条回答
  •  眼角桃花
    2020-11-30 17:41

    cp .env.example .env if there is no .env file present. php artisan key:generate command works for me. It generates the encryption key

提交回复
热议问题