上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 144 下一页
摘要: 升级PHP 版本后,PHPExcel 需要更新 此文件的Continue为continue 2 [2]"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? [/home/wwwr 阅读全文
posted @ 2021-12-30 16:42 刘俊涛的博客 阅读(114) 评论(0) 推荐(0)
摘要: 当服务器文件目录迁移后,出现乱码;可以使用 convmv 命令 语法: convmv [options] FILE(S) … DIRECTORY(S) 主要选项: 1、-f ENCODING 指定目前文件名的编码,如-f gbk 2、-t ENCODING 指定将要转换成的编码,如-t utf-8 阅读全文
posted @ 2021-12-29 14:38 刘俊涛的博客 阅读(970) 评论(0) 推荐(0)
摘要: PHP发邮件工具 swiftmailer/swiftmailer composer require swiftmailer/swiftmailer 上面的已经即将废弃了;使用下面的新版本: symfony/mailer composer require symfony/mailer 注意版本要求:不 阅读全文
posted @ 2021-12-28 00:06 刘俊涛的博客 阅读(112) 评论(0) 推荐(0)
摘要: layui 分片上传PHP后端 upload.js layui.define("layer", function(e) { "use strict"; var t = layui.$, i = layui.layer, n = layui.hint(), o = layui.device(), a 阅读全文
posted @ 2021-12-27 17:22 刘俊涛的博客 阅读(372) 评论(0) 推荐(0)
摘要: 语句写法: find 对应目录 -mtime +天数 -name "文件名" -exec rm -rf {} \; find /usr/local/backups -mtime +10 -name "*.log*" -exec rm -rf {} \; 将/usr/local/backups目录下所 阅读全文
posted @ 2021-12-27 15:05 刘俊涛的博客 阅读(286) 评论(0) 推荐(0)
摘要: 复习一下 thinkPHP 命令行工具 命令直接运行服务 我们可以不需要通过配置虚拟域名的方式来访问我们的项目非常方便,只需要在入口文件中 (默认在public目录下) 执行 如下命令 php -S localhost:8181 router.php php think run 就可以通过local 阅读全文
posted @ 2021-12-27 10:53 刘俊涛的博客 阅读(238) 评论(0) 推荐(0)
摘要: Homebrew 是 macOS 上的一个包管理器; 可以帮助你轻松的安装 PHP 和各种扩展。Homebrew 的核心仓库包含了 PHP 5.6,7.0, 7.1,7.2,7.3,7.4 和 PHP 8.0。通过下面的命令安装最新版 PHP: brew install php@8.0 官方地址:h 阅读全文
posted @ 2021-12-24 14:50 刘俊涛的博客 阅读(165) 评论(0) 推荐(0)
摘要: 任务计划超时的问题: 1.http执行超时的问题,不接收通知,或以钉钉消息方式接收结果; 2.通过命令行 执行方式; 3.也可以通过使用ob_start()和ob_end_flush()缓冲PHP输出来避免curl过早返回状态。 页面导出超时的问题 导出功能增加,计算中……提示 计算好后,将计算好的 阅读全文
posted @ 2021-12-23 11:51 刘俊涛的博客 阅读(563) 评论(0) 推荐(0)
摘要: 发生时间: 2021 -11-22 10:00:00 2021-12-14 11:20:00 监控脚本: pidstat 磁盘IO监控(-d) pidstat -d 服务器 的项目太多了;一下子无法定位到是哪个项目的问题; 看来需要优化 一下报警机制了,不然 达到 IO读写 100%的连系统都进不去 阅读全文
posted @ 2021-12-16 10:51 刘俊涛的博客 阅读(656) 评论(0) 推荐(0)
摘要: Composer install 时候报错: Composer update 时候报错: Your requirements could not be resolved to an installable set of packages Problem 1 Root composer json re 阅读全文
posted @ 2021-12-13 19:21 刘俊涛的博客 阅读(2214) 评论(0) 推荐(0)
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 144 下一页