[www]
user = www-data
group = www-data

listen = /run/php/php-fpm.sock
listen.owner = www-data
listen.group = www-data
listen.mode = 0660

pm = dynamic
pm.max_children = 50
pm.start_servers = 8
pm.min_spare_servers = 4
pm.max_spare_servers = 16
pm.max_requests = 1000
pm.process_idle_timeout = 10s

catch_workers_output = yes
decorate_workers_output = no
clear_env = no

request_terminate_timeout = 300s

php_admin_value[error_log] = /var/log/php-fpm-error.log
php_admin_flag[log_errors] = on
