Make serialize_precision a parameter

According to the php documentation, the default version for php should be "-1". Before php7.1 it was 17, so I parameterized it, and made the default "-1"
This commit is contained in:
Robbert van den Bogerd 2020-04-01 17:06:51 +02:00
parent e3fab5a6ed
commit 3b6255f1aa
2 changed files with 2 additions and 1 deletions

View File

@ -76,6 +76,7 @@ php_output_buffering: "4096"
php_short_open_tag: "Off" php_short_open_tag: "Off"
php_disable_functions: [] php_disable_functions: []
php_precision: 14 php_precision: 14
php_serialize_precision: "-1"
php_session_cookie_lifetime: 0 php_session_cookie_lifetime: 0
php_session_gc_probability: 1 php_session_gc_probability: 1

View File

@ -13,7 +13,7 @@ zlib.output_compression = Off
implicit_flush = Off implicit_flush = Off
unserialize_callback_func = unserialize_callback_func =
serialize_precision = 17 serialize_precision = {{ php_serialize_precision }}
disable_functions = {{ php_disable_functions|join(",") }} disable_functions = {{ php_disable_functions|join(",") }}
disable_classes = disable_classes =