From 30e9ef1a33358f506874cae000d479c3a5f82138 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Wed, 27 May 2015 10:17:43 -0500 Subject: [PATCH] Add max_input_vars and max_input_time vars. --- README.md | 2 ++ defaults/main.yml | 2 ++ templates/php.ini.j2 | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dfb4235..0fe65e1 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,8 @@ By default, all the extra defaults below are applied through the php.ini include php_memory_limit: "256M" php_max_execution_time: "60" + php_max_input_time: "60" + php_max_input_vars: "1000" php_realpath_cache_size: "32K" php_upload_max_filesize: "64M" php_post_max_size: "32M" diff --git a/defaults/main.yml b/defaults/main.yml index 1cef907..14e7a93 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -35,6 +35,8 @@ php_use_managed_ini: true php_expose_php: "On" php_memory_limit: "256M" php_max_execution_time: "60" +php_max_input_time: "60" +php_max_input_vars: "1000" php_realpath_cache_size: "32K" php_upload_max_filesize: "64M" php_post_max_size: "32M" diff --git a/templates/php.ini.j2 b/templates/php.ini.j2 index 70f3715..8aa002a 100644 --- a/templates/php.ini.j2 +++ b/templates/php.ini.j2 @@ -31,7 +31,8 @@ expose_php = {{ php_expose_php }} ;;;;;;;;;;;;;;;;;;; max_execution_time = {{ php_max_execution_time }} -max_input_time = 60 +max_input_time = {{ php_max_input_time }} +max_input_vars = {{ php_max_input_vars }} memory_limit = {{ php_memory_limit }} ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;