简体   繁体   English

上传大于10mb的文件时,“连接中断”

[英]“Connection Interrupted” when uploading file larger than 10mb

I have an application (html form) that allows users to upload a file to the server. 我有一个应用程序(html表单),该应用程序允许用户将文件上传到服务器。 When the file is larger than 10mb, it kicks the user directly to a "Connection interrupted" page. 当文件大于10mb时,它将直接将用户踢到“连接中断”页面。

Server is setup as follows: 服务器设置如下:

  • Ubuntu Mavrick Ubuntu Mavrick
  • Nginx 0.8.54 Nginx 0.8.54
  • PHP (FPM) 5.3.5 PHP(FPM)5.3.5
  • Zend v2.3.0 Zend v2.3.0

Under php.ini (for both fpm and php proper) the max-upload size and post-max is set to 20mb. 在php.ini下(适用于fpm和php),最大上传大小和post-max设置为20mb。 Form field has a max file size of 200000000 表单字段的最大文件大小为200000000

Any ideas as to what this could be? 关于这可能是什么想法? Is this an nginx problem? 这是nginx问题吗?

在nginx服务器配置中:

client_max_body_size 20m;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 “间接”运行时连接中断。 Ubuntu上的Bottle.py - Connection interrupted when run “indirectly”. Bottle.py on Ubuntu laravel TokenMismatchException用于文件上传超过8MB - laravel TokenMismatchException for file upload more than 8MB 我无法使用 nginx 上传大于 1mb 的文件 - i cant upload file bigger than 1mb using nginx Artifactory缓存文件显示的大小比其来源大得多 - Artifactory cache file shows much larger size than its source 在Ubuntu中使用fetch和formdata上传文件成功,但在Windows 10中失败 - Uploading a file using fetch and formdata succeeds in Ubuntu but failed in Windows 10 在 nginx 服务器上上传 120mb 文件时出现 CannotWriteFileException - Get CannotWriteFileException when upload 120mb file on nginx server 为什么在Ubuntu上传Wordpress插件或主题时重置连接 - Why is the connection reset when uploading Wordpress plugin or theme on Ubuntu 上传文件时,没有协议错误,java - No protocol error, java, when uploading file 用于删除超过 10 分钟的文件的 Bash 脚本 - Bash script to delete file older than 10minutes 使用cgi和python上传文件时出现500内部错误 - Getting an 500 internal error when uploading file using cgi and python
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM