文库
作者: xiaoyu 12/06 19:28:53

【PHP】Laravel APP_DEBUG is set to true while APP_ENV is not local

1、APP_DEBUG is set to true while APP_ENV is not local

This could make your application vulnerable to remote execution. Read more about Ignition security.

解决:

找到.env

APP_ENV=production

改成

APP_ENV=local

–done–

2、 Please provide a valid cache path.

InvalidArgumentException
Please provide a valid cache path.

解决:
/storage/framework/ 目录下
新建 cache sessions views 三个目录

–done–

About

laravel项目启动错误

Resources

发布

未发布任何资源
定制咨询
接工具开发、数据处理、数据生成的业务
微信扫码周一至周六服务