summaryrefslogtreecommitdiff
path: root/php.ini-development
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2009-10-27 16:13:48 +0000
committerIlia Alshanetsky <iliaa@php.net>2009-10-27 16:13:48 +0000
commite2211cee86982758a8cf06a10ed8ead0bfc32635 (patch)
treee346fd0f67de5db76e1df66853b82e424eec0075 /php.ini-development
parente8359d3f904cf7232aa70ddf1e5d20fa936795fd (diff)
downloadphp-git-e2211cee86982758a8cf06a10ed8ead0bfc32635.tar.gz
Introduced a max_file_uploads INI setting, which is set to limit the
number of file uploads per-request to 100 by default, to prevent possible DOS via temporary file exhaustion.
Diffstat (limited to 'php.ini-development')
-rw-r--r--php.ini-development3
1 files changed, 3 insertions, 0 deletions
diff --git a/php.ini-development b/php.ini-development
index cb994bdf11..a45b67042d 100644
--- a/php.ini-development
+++ b/php.ini-development
@@ -878,6 +878,9 @@ file_uploads = On
; http://php.net/upload-max-filesize
upload_max_filesize = 2M
+; Maximum number of files that can be uploaded via a single request
+max_file_uploads = 100
+
;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;