2020-04-28 21:16:47 +02:00
|
|
|
[zabbix]
|
|
|
|
|
|
|
|
listen = /tmp/php-fpm.sock
|
|
|
|
|
2020-09-10 14:05:17 +02:00
|
|
|
clear_env = no
|
|
|
|
|
2020-04-28 21:16:47 +02:00
|
|
|
pm = dynamic
|
|
|
|
pm.max_children = 50
|
|
|
|
pm.start_servers = 5
|
|
|
|
pm.min_spare_servers = 5
|
|
|
|
pm.max_spare_servers = 35
|
|
|
|
|
|
|
|
slowlog = /dev/fd/1
|
|
|
|
|
2020-10-14 13:33:54 +02:00
|
|
|
; php_admin_value[error_log] = /dev/fd/2
|
2020-04-28 21:16:47 +02:00
|
|
|
php_admin_flag[log_errors] = on
|
|
|
|
|
|
|
|
php_value[session.save_handler] = files
|
|
|
|
php_value[session.save_path] = /var/lib/php/session
|
|
|
|
|
2020-09-10 14:05:17 +02:00
|
|
|
php_value[max_execution_time] = ${ZBX_MAXEXECUTIONTIME}
|
|
|
|
php_value[memory_limit] = ${ZBX_MEMORYLIMIT}
|
|
|
|
php_value[post_max_size] = ${ZBX_POSTMAXSIZE}
|
|
|
|
php_value[upload_max_filesize] = ${ZBX_UPLOADMAXFILESIZE}
|
|
|
|
php_value[max_input_time] = ${ZBX_MAXINPUTTIME}
|
|
|
|
php_value[max_input_vars] = 10000
|
|
|
|
php_value[date.timezone] = ${PHP_TZ}
|