From 99754afd721a561296ca2573121437529515b2e0 Mon Sep 17 00:00:00 2001 From: cytopia Date: Sat, 28 Jul 2018 11:46:59 +0200 Subject: [PATCH] max_input_vars does not yet exist in PHP 5.3 --- Dockerfiles/base/data/php.d/php-5.3.ini | 1 - build/ansible/CONFIGURATION/php-base.ini.j2 | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfiles/base/data/php.d/php-5.3.ini b/Dockerfiles/base/data/php.d/php-5.3.ini index 0d1ed60..ed6a2bf 100644 --- a/Dockerfiles/base/data/php.d/php-5.3.ini +++ b/Dockerfiles/base/data/php.d/php-5.3.ini @@ -29,7 +29,6 @@ max_file_uploads = 20 ; Vars variables_order = EGPCS -max_input_vars = 8000 max_input_nesting_level = 64 diff --git a/build/ansible/CONFIGURATION/php-base.ini.j2 b/build/ansible/CONFIGURATION/php-base.ini.j2 index 49d8e5f..96b43b8 100644 --- a/build/ansible/CONFIGURATION/php-base.ini.j2 +++ b/build/ansible/CONFIGURATION/php-base.ini.j2 @@ -29,7 +29,9 @@ max_file_uploads = 20 ; Vars variables_order = EGPCS +{% if not (php_version == 5.2 or php_version == 5.3 ) %} max_input_vars = 8000 +{% endif %} max_input_nesting_level = 64