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

listen = /var/opt/remi/php{$PHP_VERSION}/run/php-fpm/www.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_yum{$PHP_VERSION}
pm.max_requests = 1000
request_terminate_timeout = 30
request_slowlog_timeout = 10
slowlog = /var/opt/remi/php{$PHP_VERSION}/log/php-fpm/www-slow.log

php_admin_flag[log_errors] = on
php_admin_value[error_log] = /var/opt/remi/php{$PHP_VERSION}/log/php-fpm/error.log