设置的upload_max_filesize(等)大文件上传 [英] Setting upload_max_filesize (etc) for large file uploads

查看:756
本文介绍了设置的upload_max_filesize(等)大文件上传的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过这个jQuery插件上传文件:的http:// aquantum-演示。 appspot.com/file-upload

I'm trying to upload files via this jQuery plugin: http://aquantum-demo.appspot.com/file-upload

我能够达到上传文件到1.2GB没有问题。我已经试了下最大的文件是1.8GB,这上传失败。我已经设置:

I am able to upload files up to 1.2GB without a problem. The next largest file I've tried is 1.8GB and this upload fails. I have set:

max_execution_time = 0
max_input_time = 0

memory_limit = 4000M
post_max_size = 3500M
upload_max_filesize = 3000M

我应该这些值是,如果这是不工作?我要上传视频文件高达2GB通过这种方法。

What should these values be if this isn't working? I need to upload video files that are up to 2GB via this method.

在此先感谢!

推荐答案

可能你的共享主机所以内存是有限的。和1.8GB的声音,我喜欢的东西几乎2GB,这是在32位系统上的限制整数,适用于PHP也。

possibly you're on shared hosting so the memory is limited. and 1.8GB sounds to me like something nearly 2GB, this is the limit on 32-bit system for integer, applies to PHP also.

这篇关于设置的upload_max_filesize(等)大文件上传的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆