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

listen = /tmp/php-cgi-{$PHP_VERSION}.sock
listen.owner = {$PHP_USER}
listen.group = {$PHP_GROUP}
listen.backlog = 4096

pm = dynamic
pm.max_children = 30
pm.start_servers = 5
pm.min_spare_servers = 5
pm.max_spare_servers = 20
pm.status_path = /phpfpm_status_{$PHP_VERSION}
pm.max_requests = 1000
request_terminate_timeout = 30
request_slowlog_timeout = 10
slowlog = {$SERVER_PATH}/php/{$PHP_VERSION}/var/log/www-slow.log