APC文件上传进度状态卡在2100000字节(〜2.1MB) [英] APC File Upload Progress Status getting stuck at 2100000 Bytes (~2.1MB)
问题描述
出于某种奇怪的原因,apc文件上传状态给我的文件大小,直到它达到2,100,000停止。
我能成功上传小于2.1MB的文件,但超过2.1MB的文件因为此错误而失败。我检查了apc.max_upload_size变量,并将其撞到了100M,但仍然没有运气。我一直在监视 $ status ['current']
的数字或不同的上传,这个数字永远不会超过2100000.
有些东西告诉我有一些其他的设置告诉APC在达到一定大小后停止回报 $ status ['current']
值。
有什么想法吗?
原来我一直在寻找最大尺寸设置在错误的地方。 2MB的限制是由php设置强加的,所以修改了一切!
For some odd reason, the apc file upload status gives me the file size until it gets to 2,100,000 at which point it stops.
I am able to successfully upload files smaller than 2.1MB but everything over 2.1MB is failing because of this error. I checked the apc.max_upload_size variable and bumped it up to 100M but still no luck. I've been monitoring $status['current']
for a number or different uploads and this number can never get over 2100000.
Something tells me there is some other setting that tells APC to stop reporting back $status['current']
value after some size has been reached.
Any ideas?
It turns out I was looking for the max size setting in the wrong place. The 2MB limit was imposed by the php settings so changing that fixed everything!
这篇关于APC文件上传进度状态卡在2100000字节(〜2.1MB)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!