summaryrefslogtreecommitdiff
path: root/php.ini-development
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2011-12-15 10:31:02 +0000
committerDmitry Stogov <dmitry@php.net>2011-12-15 10:31:02 +0000
commita099e0d2f6f722e4acfabc51071c8d6587622ecb (patch)
treef27334eec594e55ff532a6d25c10bbf38af1e7cb /php.ini-development
parente385335db26a59c8c10db5f360f7d580139a72cd (diff)
downloadphp-git-a099e0d2f6f722e4acfabc51071c8d6587622ecb.tar.gz
Added max_input_vars directive to prevent attacks based on hash collisions
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 e970570460..e6a0f6dcc1 100644
--- a/php.ini-development
+++ b/php.ini-development
@@ -397,6 +397,9 @@ max_input_time = 60
; http://php.net/max-input-nesting-level
;max_input_nesting_level = 64
+; How many GET/POST/COOKIE input variables may be accepted
+; max_input_vars = 1000
+
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit = 128M