Setting upload_max_filesize (etc) for large file uploads

元气小坏坏 提交于 2020-01-05 11:57:06

问题


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

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

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

Thanks in advance!


回答1:


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.



来源:https://stackoverflow.com/questions/7694177/setting-upload-max-filesize-etc-for-large-file-uploads

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!