Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding max_input_vars to php.ini #166

Merged
merged 1 commit into from
Nov 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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