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
commitb8a08bf263d03c26da5f475f96a1d66eb566d874 (patch)
tree5989160169fda6ed8f9b052e55aa29182313a529 /php.ini-development
parent0d1998e34ff487aab6451963d60697dd5b5b0115 (diff)
downloadphp-git-b8a08bf263d03c26da5f475f96a1d66eb566d874.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 b8aef6a374..48cc89fa05 100644
--- a/php.ini-development
+++ b/php.ini-development
@@ -457,6 +457,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