当前位置:网站首页>Laravel framework operation error: no application encryption key has been specified
Laravel framework operation error: no application encryption key has been specified
2022-07-05 13:38:00 【Summer is already slightly cool】
One 、 A scenario
start-up Laravel Frame item error :Whoops, looks like something went wrong,
modifyconfig/app.php
, Show BUG details : hold'debug' => env('APP_DEBUG', false),
Change it to'debug' => env('APP_DEBUG', true),
, Report errors :No application encryption key has been specified
Two 、 Reasons for appearance
- The reason for this problem is : Not in the
.env
Set the application in the fileEncryption key
3、 ... and 、 terms of settlement
Linux in , Execute the command in the root of the project :
php artisan key:generate
, as followsAfter setting successfully APP_KEY It will be in the root directory
.env
It shows , as follows
Four 、 other
- Linux Give orders :
ls -a
View all files in the folder ( Including hidden files ) - Accompanying, Laravel Report errors :Whoops, looks like something went wrong.
边栏推荐
- 【Hot100】34. Find the first and last positions of elements in a sorted array
- French scholars: the explicability of counter attack under optimal transmission theory
- Reflection and imagination on the notation like tool
- Fragmented knowledge management tool memos
- Idea set method annotation and class annotation
- Catch all asynchronous artifact completable future
- 【MySQL 使用秘籍】一网打尽 MySQL 时间和日期类型与相关操作函数(三)
- Laravel框架运行报错:No application encryption key has been specified
- 什么是网络端口
- mysql获得时间
猜你喜欢
The "Baidu Cup" CTF competition was held in February 2017, Web: explosion-2
MMSeg——Mutli-view时序数据检查与可视化
爱可生SQLe审核工具顺利完成信通院‘SQL质量管理平台分级能力’评测
MySQL - database query - sort query, paging query
精彩速递|腾讯云数据库6月刊
Data Lake (VII): Iceberg concept and review what is a data Lake
“百度杯”CTF比赛 九月场,Web:Upload
Binder通信过程及ServiceManager创建过程
记录一下在深度学习-一些bug处理
Catch all asynchronous artifact completable future
随机推荐
js判断数组中是否存在某个元素(四种方法)
不知道这4种缓存模式,敢说懂缓存吗?
Personal component - message prompt
Binder通信过程及ServiceManager创建过程
使用Dom4j解析XML
Programmer growth Chapter 8: do a good job of testing
mysql econnreset_ Nodejs socket error handling error: read econnreset
精彩速递|腾讯云数据库6月刊
leetcode 10. Regular Expression Matching 正则表达式匹配 (困难)
记录一下在深度学习-一些bug处理
Prefix, infix, suffix expression "recommended collection"
多人合作项目查看每个人写了多少行代码
The real king of caching, Google guava is just a brother
Parsing XML using Dom4j
53. 最大子数组和:给你一个整数数组 nums ,请你找出一个具有最大和的连续子数组(子数组最少包含一个元素),返回其最大和。
redis6事务和锁机制
私有地址有那些
这18个网站能让你的页面背景炫酷起来
Data Lake (VII): Iceberg concept and review what is a data Lake
FPGA learning notes: vivado 2019.1 add IP MicroBlaze