视频文件上传失败

来源:6-3 视频上传到本地

沉睡的芒果

2019-08-06

swoole 配置修改如下,
‘buffer_output_size’ => 16 * 1024 * 1024,
‘package_max_length’ => 16 * 1024 * 1024,

php.ini配置也做了相应的大小限制修改,仍然失败,文件处理代码如下图片描述

写回答

2回答

hwkkevin

2020-03-07

nginx限制上传视频的大小,修改一下nginx就行了

0
0

singwa

2019-08-06

您好。文件上传失败 有错误提示什么的吗? 先看看有没有错误提示。

0
1
沉睡的芒果
Could not get any response There was an error connecting to http://192.168.1.8:9501/api/upload/file. Why this might have happened: The server couldn't send a response: Ensure that the backend is working properly Self-signed SSL certificates are being blocked: Fix this by turning off 'SSL certificate verification' in Settings > General Proxy configured incorrectly Ensure that proxy is configured correctly in Settings > Proxy Request timeout: Change request timeout in Settings > General
2019-08-06
共1条回复

EasySwoole+ElasticSearch打造高性能小视频服务系统

系统掌握EasySwoole框架,从容应对高并发、高性能业务

556 学习 · 235 问题

查看课程