为大文件上传设置 upload_max_filesize (等)
我正在尝试通过此 jQuery 插件上传文件: http://aquantum-demo.appspot.com /file-upload
我可以毫无问题地上传最大 1.2GB 的文件。我尝试过的下一个最大文件是 1.8GB,但上传失败。我已经设置:
max_execution_time = 0
max_input_time = 0
memory_limit = 4000M
post_max_size = 3500M
upload_max_filesize = 3000M
如果这不起作用,这些值应该是什么?我需要通过这种方法上传最大2GB的视频文件。
提前致谢!
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!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可能您使用的是共享主机,因此内存有限。 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.