mirror of https://github.com/midoks/mdserver-web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
586 B
21 lines
586 B
[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}
|
|
request_terminate_timeout = 100
|
|
request_slowlog_timeout = 30
|
|
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 |