Re: max_file_uploads INI_PERDIR
| From: | Gustavo Lopes | Date: | Sat, 18 Feb 2012 10:33:07 +0000 |
| Subject: | Re: max_file_uploads INI_PERDIR | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57901@lists.php.net to get a copy of this message | ||
On Fri, 17 Feb 2012 22:59:20 +0100, Rasmus Lerdorf <rasmus@lerdorf.com> wrote:
The main reason is that our default for max_file_uploads is rather low and since we count empty uploads against this limit it is easy for apps to hit this. So if you have more than 20 type="file" fields in a form, even if the user only actually uploads a single file, it will hit this limit and fail.This is not true since PHP 5.3.4. See request #50692 (don't count 0-bytes files towards the max_file_uploads limit). -- Gustavo Lopes