[www]
user = {$PHP_USER}
group = {$PHP_GROUP}

listen = /run/php/php{$PHP_VERSION}-fpm.sock
listen.owner = {$PHP_USER}
listen.group = {$PHP_GROUP}
listen.backlog = 4096
pm = dynamic
pm.max_children = 50
pm.start_servers = 5
pm.min_spare_servers = 5
pm.max_spare_servers = 35
pm.status_path = /phpfpm_status_apt{$PHP_VERSION}
pm.max_requests = 1000
request_terminate_timeout = 30
request_slowlog_timeout = 10
slowlog = /var/log/fpm-php{$PHP_VERSION}.www.slow.log

;php_admin_flag[log_errors] = on
;php_admin_value[error_log] = /var/log/fpm-php{$PHP_VERSION}.www.log


