15 lines
379 B
Plaintext
15 lines
379 B
Plaintext
|
[www]
|
||
|
# Only start children when there are requests to be processed
|
||
|
pm = ondemand
|
||
|
# Terminate them again after there haven't been any for 2 minutes
|
||
|
pm.process_idle_timeout = 120s
|
||
|
# Maximum number of children processing PHP requests concurrently
|
||
|
pm.max_children = 5
|
||
|
|
||
|
listen = /var/run/php-fpm.sock
|
||
|
listen.owner = www-data
|
||
|
listen.group = www-data
|
||
|
user = www-data
|
||
|
group = www-data
|
||
|
|