![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
Newbie@man
这个作者很懒,什么都没留下…
展开
-
laravel 安装及使用OSS扩展
一、安装扩展包 1、composer安装 composer require jacobcyl/ali-oss-storage:dev-master 2、在composer.json配置 “jacobcyl/ali-oss-storage”: “dev-master” 添加到composer.json 的require中 运行composer update 二 配置OSS 1、在 config/app.php 文件中添加providers Jacobcyl\AliOSS\AliOssServiceProvi原创 2022-02-23 17:14:09 · 654 阅读 · 0 评论 -
laravel 路由在nginx不生效解决(宝塔面板)
laravel 路由在nginx不生效解决(宝塔面板) 1 找到站点 点击设置 2 点击配置文件 配置文件中加入代码 location / { try_files $uri $uri/ /index.php?$query_string; #开启路由访问,laravel项目改为此条 }原创 2022-02-23 17:06:20 · 2237 阅读 · 1 评论 -
MYSQL 慢查询操作
一 什么是慢查询 MySQL的慢查询,全名是慢查询日志,是MySQL提供的一种日志记录,用来记录在MySQL中响应时间超过阀值的语句 二 开启慢查询 1 查看慢查询 mysql> show variables like ‘slow_query%’; ±--------------------±--------------------------------+ | Variable_name ...原创 2020-02-26 10:51:28 · 120 阅读 · 0 评论