add PHP_MAX_CHILDREN var

This commit is contained in:
Sebastian Hugentobler 2017-06-15 13:08:29 +02:00
parent 716089b782
commit 068c29cd02
2 changed files with 7 additions and 2 deletions

View File

@ -22,10 +22,15 @@ Maximal upload size.
Maximum amount of memory that a script is allowed to allocate.
## PHP_MAX_EXECUTION_TIME
- default 30
- default: 30
Execution time limit for php scripts in seconds.
## PHP_MAX_CHILDREN
- default: 5
Value of `pm.max_children`.
## PHP_ADMIN_VALUES
Comma seperated list of php admin values.

View File

@ -113,7 +113,7 @@ pm = dynamic
; forget to tweak pm.* to fit your needs.
; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand'
; Note: This value is mandatory.
pm.max_children = 5
pm.max_children = {{ getenv "PHP_MAX_CHILDREN" "5"}}
; The number of child processes created on startup.
; Note: Used only when pm is set to 'dynamic'