PHP上传大文件(W / O错误)下降 [英] PHP upload drops with big files (w/o error)

查看:229
本文介绍了PHP上传大文件(W / O错误)下降的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Xampp时(WIN Server 2003上),我已授予PHP和Apache的与6GB限制和等待系统进程没有时间限制上传。
当我试图与发帖上传的文件形式,上面是1.8GB〜,它会等待直到100%被上载,然后刷新,空白字段的形式。没有错误讯息,没有路由形成的目标页面 - 从头同一页

I'm using Xampp (on win server 2003) and I've granted both PHP and Apache for uploads with 6GB limit and no time limit for waiting for system processes. When I'm trying to post a form with uploaded file that is above ~1.8GB, it waits till 100% is uploaded and then refreshes the form with blank fields. No error messages, no routing to form's target page - same page from scratch.

有没有做任何限制,隐藏或文件系统限制?
如果是这样,请你为PHP建议更好(免费)上传的方式?

Is there any hidden limitation or file system limitation that does it? If so, could you please suggest better (free) upload way for PHP?

感谢你在前进,
马克。

Thank you in advance, Mark.

编辑:限制是2GB不是1.8GB

The limit is on 2GB not 1.8GB

推荐答案

有关上传千兆字节,考虑编写一个Web服务器模块。这似乎常识的路要走......而让一切64bit的,只是可以肯定的。

For uploading gigabytes, consider writing a web server module. It seems the common sense way to go... And make everything 64bit, just to be sure.

我从来没有想到的是,PHP可以采取这样大的上传。我从来没有依靠它来处理这样的东西。 并不知道PHP可以处理GBS的尺寸正常...它64位 - 支持较少(它使用32位)整数...

I never even imagined that PHP could take such large of uploads. I'd never rely on it to handle such stuff. And don't know if PHP can handle the GBs sizes properly... with it 64bit-less support (it uses 32bit) for integers...

我只是猜测这里。 我会写的,因为我想他们将准确地处理上传等任务的服务器模块。

这篇关于PHP上传大文件(W / O错误)下降的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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