【问题标题】:Application key error? i am working in php storm [duplicate]应用程序密钥错误?我在phpstorm中工作[重复]
【发布时间】:2018-01-04 16:15:48
【问题描述】:

我最近从 github 拉了一个项目以了解它正在工作我正在尝试为该项目生成应用程序密钥,但不断收到错误。任何帮助将非常感激。提前感谢enter image description here

【问题讨论】:

  • 请检查.env文件是否存在

标签: laravel github environment-variables key-generator


【解决方案1】:

.env.example 复制到.env,然后再次尝试运行php artisan key:generate

希望这会有所帮助!

【讨论】:

  • 它确实对我有用,感谢您的解决方案。 :)
【解决方案2】:

我想你可以试试这个:

复制 .env.example .env

并清除缓存

php artisan config:cache
php artisan cache:clear

运行命令后php artisan key:generate

希望这对你有用!!!

【讨论】:

  • 感谢您的帮助。 :)
  • @DaShInGSid 如果我的回答是您的解决方案,请接受我的回答。
猜你喜欢
  • 2019-06-16
  • 2022-05-18
  • 2014-01-16
  • 1970-01-01
  • 1970-01-01
  • 2020-12-10
  • 2019-03-29
  • 2016-07-17
  • 1970-01-01
相关资源
最近更新 更多