Skip to content

Commit

Permalink
Adding max_input_vars to php.ini (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
dannylamb authored Nov 30, 2021
1 parent 1345d80 commit 26c79db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ ENV \
PHP_MAX_EXECUTION_TIME=30 \
PHP_MAX_FILE_UPLOADS=20 \
PHP_MAX_INPUT_TIME=60 \
PHP_MAX_INPUT_VARS=3000 \
PHP_MEMORY_LIMIT=256M \
PHP_POST_MAX_SIZE=128M \
PHP_UPLOAD_MAX_FILESIZE=128M
Expand Down
2 changes: 1 addition & 1 deletion nginx/rootfs/etc/confd/templates/php.ini.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ max_input_time = {{ getenv "PHP_MAX_INPUT_TIME" }}
;max_input_nesting_level = 64

; How many GET/POST/COOKIE input variables may be accepted
;max_input_vars = 1000
max_input_vars = {{ getenv "PHP_MAX_INPUT_VARS" }}

; Maximum amount of memory a script may consume
; http://php.net/memory-limit
Expand Down

0 comments on commit 26c79db

Please sign in to comment.