大前端
-
通过 FTP 协议上传文件至 FTP 服务器的文件路径缺失的排查分析
1、通过 FTP 协议上传文件至 FTP 服务器,文件路径为:455ba786a7e62dd5cf24f3d6bb32c26c/source/ftp/2021/9/16/b9cf2265-736a-4df8-b02b-215b91ad4e3e.mp4。但是在 FTP 服务器中的实际路径为:/source/ftp/2021/9/…
-
在 Windows 10、 Nginx 1.10、PHP 7.4 中报错:413 Request Entity Too Large
1、在 Windows 10、 Nginx 1.10、PHP 7.4 中报错:413 Request Entity Too Large。上传文件的大小:286MB。如图1 图1 413 Request Entity Too Large nginx/1.10.1 2、查看 phpinfo,上传文件的大小限制为 1024M。如…
-
在 K8s 中报错:504 Gateway Time-out nginx/1.17.8,NGINX 入口控制器在 60 秒后请求超时
1、在 K8s 中报错:504 Gateway Time-out nginx/1.17.8。请求超时限制为 60 秒。如图1 图1 504 Gateway Time-out nginx/1.17.8 2、参考网址:https://www.shuijingwanwq.com/2020/02/19/3936/ 。已经将相关参数调整…
-
在 Laravel 5.4 中报错:Call to undefined function App//App//Services//exif_read_data()
1、在 Laravel 5.4 中报错:Call to undefined function App//App//Services//exif_read_data()。如图1 图1 { "code": 10000, "message": "Call to undefined function App//App//Service…
-
在 Laravel 5.4 中运行 composer 报错:RuntimeException
1、在 Laravel 5.4 中运行 composer 报错:RuntimeException。[运行时异常] require-dev.mikey179/vfsStream 无效,不应包含大写字符。请使用 mikey179/vfsstrea 来代替。如图1 图1 PS E:/wwwroot/msi_main> com…
-
给 PHP 官方文档(PHP 的命令行模式)报告错误,进而修正
1、网址:https://www.php.net/manual/zh/features.commandline.introduction.php 。CGI 版本的文件名为 php-cli.exe。应该修改为:CGI 版本的文件名为 php-cgi.exe。如图1 图1 2、切换至英文页面,The CGI version…
-
在 Yii 2.0 中基于 Workerman 启动运行命令行
1、Composer 安装 Workerman 成功。如图1 图1 PS E:/wwwroot/channel-pub-api> composer require workerman/workerman Using version ^4.0 for workerman/workerman ./composer.json has been updated Running c…
-
在 Windows 10 的本地环境配置 HTTPS(https://localhost),基于 mkcert
1、现在本地环境网址:http://morefun.dev.xxx.cn/ 希望获取到开发环境网址:https://.xxx.cn 下的 Cookie 数据,发现无法获取。原因在于 http 与 https 的差异。 2、在本地环境配置网址:https://morefun.dev.xxx.…
-
在 Windows 10 中执行命令行,报错:Call to undefined function App/Console/Commands/posix_getpid()
1、在 Windows 10 中执行命令行,报错:Call to undefined function App/Console/Commands/posix_getpid()。如图1 图1 PS E:/wwwroot/msi_main> php artisan migrate In ExportRecords.php line 65: Call to und…
-
在本地环境中,测试队列(Yii2 队列扩展,queue/run 命令)模式下的并行运行
1、参考网址:https://www.shuijingwanwq.com/2021/01/22/4698/ 。queue/run 命令替换 queue/listen 命令。在本地环境中,查看 queue/run 命令队列的状态。 PS E:/wwwroot/channel-pub-api> ./yii copy-asset-qu…