简体   繁体   中英

“Connection Interrupted” when uploading file larger than 10mb

I have an application (html form) that allows users to upload a file to the server. When the file is larger than 10mb, it kicks the user directly to a "Connection interrupted" page.

Server is setup as follows:

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

Under php.ini (for both fpm and php proper) the max-upload size and post-max is set to 20mb. Form field has a max file size of 200000000

Any ideas as to what this could be? Is this an nginx problem?

在nginx服务器配置中:

client_max_body_size 20m;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM