add PHP_START_SERVERS

This commit is contained in:
Sebastian Hugentobler 2017-10-10 13:17:21 +02:00
parent 937cfa9e7d
commit d95ec77411
2 changed files with 6 additions and 1 deletions

View File

@ -31,6 +31,11 @@ Execution time limit for php scripts in seconds.
Value of `pm.max_children`. Value of `pm.max_children`.
## PHP_START_SERVERS
- default: 2
Value of `pm.start_servers`
## PHP_ADMIN_VALUES ## PHP_ADMIN_VALUES
Comma seperated list of php admin values. Comma seperated list of php admin values.

View File

@ -118,7 +118,7 @@ pm.max_children = {{ getenv "PHP_MAX_CHILDREN" "5"}}
; The number of child processes created on startup. ; The number of child processes created on startup.
; Note: Used only when pm is set to 'dynamic' ; Note: Used only when pm is set to 'dynamic'
; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2 ; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2
pm.start_servers = 2 pm.start_servers = {{ getenv "PHP_START_SERVERS" "2"}}
; The desired minimum number of idle server processes. ; The desired minimum number of idle server processes.
; Note: Used only when pm is set to 'dynamic' ; Note: Used only when pm is set to 'dynamic'