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
commite467a791d3111438ea1160c22b986d24bd09450e (patch)
treebd61ecf725e4b574085f1f09d67c84958709fc7d /php.ini-development
parent4dfd69e84ba45c5c8ac2bdfb324100359efacb8d (diff)
downloadphp-git-e467a791d3111438ea1160c22b986d24bd09450e.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