Skip to content

Commit 2064e41

Browse files
authored
Merge pull request #17 from presslabs/php-ini-max-input-vars
Allow setting max_input_vars from env PHP_MAX_INPUT_VARS
2 parents 87a009e + 7b1d69a commit 2064e41

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

php/docker/templates/php.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ sendmail_path=/usr/bin/msmtp -C /usr/local/docker/etc/msmtp.conf --read-envelope
44
log_errors=on
55
display_errors=off
66

7+
{{- if .Env.PHP_MAX_INPUT_VARS }}
8+
max_input_vars={{ .Env.PHP_MAX_INPUT_VARS }}
9+
{{- end }}
10+
711
apc.serializer=igbinary
812

913
session.serialize_handler=igbinary

0 commit comments

Comments
 (0)