当前位置:网站首页>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.
边栏推荐
- Write API documents first or code first?
- Get you started with Apache pseudo static configuration
- js判断数组中是否存在某个元素(四种方法)
- 真正的缓存之王,Google Guava 只是弟弟
- Personal component - message prompt
- 精彩速递|腾讯云数据库6月刊
- 53. Maximum subarray sum: give you an integer array num, please find a continuous subarray with the maximum sum (the subarray contains at least one element) and return its maximum sum.
- What are the private addresses
- My colleague didn't understand selenium for half a month, so I figured it out for him in half an hour! Easily showed a wave of operations of climbing Taobao [easy to understand]
- 个人组件 - 消息提示
猜你喜欢
go 数组与切片
Data Lake (VII): Iceberg concept and review what is a data Lake
[深度学习论文笔记]UCTransNet:从transformer的通道角度重新思考U-Net中的跳跃连接
[daily question] 1200 Minimum absolute difference
量价虽降,商业银行结构性存款为何受上市公司所偏爱?
Backup and restore of Android local SQLite database
“百度杯”CTF比赛 九月场,Web:SQL
百度杯”CTF比赛 2017 二月场,Web:爆破-2
Summit review | baowanda - an integrated data security protection system driven by compliance and security
这18个网站能让你的页面背景炫酷起来
随机推荐
Catch all asynchronous artifact completable future
jasypt配置文件加密|快速入门|实战
What is a network port
A detailed explanation of ASCII code, Unicode and UTF-8
Get you started with Apache pseudo static configuration
With 4 years of working experience, you can't tell five ways of communication between multithreads. Dare you believe it?
MySQL - database query - sort query, paging query
Apicloud studio3 WiFi real machine synchronization and WiFi real machine preview instructions
同事半个月都没搞懂selenium,我半个小时就给他整明白!顺手秀了一波爬淘宝的操作[通俗易懂]
Don't know these four caching modes, dare you say you understand caching?
Difference between avc1 and H264
What about data leakage? " Watson k'7 moves to eliminate security threats
一文详解ASCII码,Unicode与utf-8
Rocky basic command 3
【MySQL 使用秘籍】一網打盡 MySQL 時間和日期類型與相關操作函數(三)
前缀、中缀、后缀表达式「建议收藏」
The real king of caching, Google guava is just a brother
JS to determine whether an element exists in the array (four methods)
华为推送服务内容,阅读笔记
SAE international strategic investment geometry partner