From 9d095a6011c64e6192d8f3edfea1ac7a367c0279 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Thu, 5 Nov 2009 13:29:34 +0000 Subject: Make sure that max_file_uploads is set to 20 by-default in all places --- NEWS | 2 +- php.ini-development | 2 +- php.ini-production | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 7f14cf71cc..32823e302d 100644 --- a/NEWS +++ b/NEWS @@ -4,7 +4,7 @@ PHP NEWS - Upgraded bundled PCRE to version 8.00. (Scott) - Added "max_file_uploads" INI directive, which can be set to limit the - number of file uploads per-request to 100 by default, to prevent possible + number of file uploads per-request to 20 by default, to prevent possible DOS via temporary file exhaustion. (Ilia) - Added ReflectionMethod::setAccessible() for invoking non-public methods through the Reflection API. (Sebastian) diff --git a/php.ini-development b/php.ini-development index a45b67042d..2eecc139ff 100644 --- a/php.ini-development +++ b/php.ini-development @@ -879,7 +879,7 @@ file_uploads = On upload_max_filesize = 2M ; Maximum number of files that can be uploaded via a single request -max_file_uploads = 100 +max_file_uploads = 20 ;;;;;;;;;;;;;;;;;; ; Fopen wrappers ; diff --git a/php.ini-production b/php.ini-production index 9104155c88..c84d830465 100644 --- a/php.ini-production +++ b/php.ini-production @@ -879,7 +879,7 @@ file_uploads = On upload_max_filesize = 2M ; Maximum number of files that can be uploaded via a single request -max_file_uploads = 100 +max_file_uploads = 20 ;;;;;;;;;;;;;;;;;; ; Fopen wrappers ; -- cgit v1.2.1