PHP:可上传文件的最大数量,$ _ FILES在25个条目处已达到最大值 [英] PHP: Maximum amount of uploadable files, $_FILES maxed out at 25 entries

查看:287
本文介绍了PHP:可上传文件的最大数量,$ _ FILES在25个条目处已达到最大值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个相当旧的页面,其中驻留了许多文件上传输入字段.问题在于,帖子发布后只会填充前25个上传字段的数据.

I have a rather old page, where a lot of file upload input fields reside. The problem is, only the first 25 upload field's data gets populated after the post.

我正在使用nginx + php5.3-fpm

I'm using nginx+php5.3-fpm

max_file_uploads设置为200,所以这不是问题.除了文件输入外,还有许多其他输入字段,它们都可以很好地到达.

max_file_uploads is set to 200, so that can't be the problem. There are also a lot of other input fields besides the file inputs, and they arrive just fine, all of them.

任何想法,我应该去哪里看?

Any ideas, where should I look?

推荐答案

我知道了!这实际上是suhosin自己的限制:

I GOT IT! It was suhosin's own restriction in effect:

suhosin.upload.max_uploads设置为25

suhosin.upload.max_uploads is set to 25

这篇关于PHP:可上传文件的最大数量,$ _ FILES在25个条目处已达到最大值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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