27 lines
458 B
Text
27 lines
458 B
Text
|
[www]
|
||
|
|
||
|
user = www-data
|
||
|
group = www-data
|
||
|
|
||
|
listen = /run/php/php7.0-fpm.sock
|
||
|
|
||
|
listen.owner = www-data
|
||
|
listen.group = www-data
|
||
|
|
||
|
; Choose how process manager will control the number of child processes.
|
||
|
pm = dynamic
|
||
|
|
||
|
pm.max_children = 5
|
||
|
|
||
|
pm.start_servers = 2
|
||
|
pm.min_spare_servers = 1
|
||
|
pm.max_spare_servers = 3
|
||
|
|
||
|
env[HOSTNAME] = $HOSTNAME
|
||
|
env[PATH] = /usr/local/bin:/usr/bin:/bin
|
||
|
env[TMP] = /tmp
|
||
|
env[TMPDIR] = /tmp
|
||
|
env[TEMP] = /tmp
|
||
|
|
||
|
security.limit_extensions = .php
|