当前位置:网站首页>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.
边栏推荐
- "Baidu Cup" CTF competition in September, web:upload
- Rocky basic command 3
- MySQL get time
- Fragmented knowledge management tool memos
- Apicloud studio3 API management and debugging tutorial
- 百度杯”CTF比赛 2017 二月场,Web:爆破-2
- Shandong University Summer Training - 20220620
- Jenkins installation
- 个人组件 - 消息提示
- Address book (linked list implementation)
猜你喜欢
随机推荐
Integer = = the comparison will unpack automatically. This variable cannot be assigned empty
Rocky basic command 3
【Hot100】33. Search rotation sort array
MATLAB论文图表标准格式输出(干货)
MySQL --- 数据库查询 - 排序查询、分页查询
Programmer growth Chapter 8: do a good job of testing
【公开课预告】:视频质量评价基础与实践
AVC1与H264的区别
Aikesheng sqle audit tool successfully completed the evaluation of "SQL quality management platform grading ability" of the Academy of communications and communications
FPGA 学习笔记:Vivado 2019.1 添加 IP MicroBlaze
一网打尽异步神器CompletableFuture
Personal component - message prompt
Basic characteristics and isolation level of transactions
redis6事务和锁机制
The "Baidu Cup" CTF competition was held in February 2017, Web: explosion-2
SAE international strategic investment geometry partner
STM32 reverse entry
leetcode 10. Regular Expression Matching 正则表达式匹配 (困难)
不知道这4种缓存模式,敢说懂缓存吗?
真正的缓存之王,Google Guava 只是弟弟