No Application Encryption Key Has Been Specified

前端 未结 20 1791
爱一瞬间的悲伤
爱一瞬间的悲伤 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:43

    In my case, while cloning the project from git there was no .env

    file. So I copy the .env file from the source project and paste in my current project and change its configuration of database and it run successfully.

提交回复
热议问题