Browse Source

Make sure that max_file_uploads is set to 20 by-default in all places

PHP-5.2.1RC1
Ilia Alshanetsky 17 years ago
parent
commit
53952fef26
  1. 2
      NEWS
  2. 2
      php.ini-dist
  3. 2
      php.ini-recommended

2
NEWS

@ -4,7 +4,7 @@ PHP NEWS
- Updated timezone database to version 2009.17 (2009q). (Derick)
- 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)
- Fixed unnecessary invokation of setitimer when timeouts have been disabled.

2
php.ini-dist

@ -553,7 +553,7 @@ 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 ;

2
php.ini-recommended

@ -604,7 +604,7 @@ 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 ;

Loading…
Cancel
Save