php-fpm.conf.j2 865 Bytes
Newer Older
1
2
3
4
[global]
error_log = syslog
daemonize = no

5
[{{ flyspray_user }}]
6
listen = /run/php-fpm7/flyspray.socket
7
8
9
10
11
listen.owner = {{ flyspray_user }}
listen.group = http
listen.mode = 0660

pm = dynamic
12
pm.max_children = 30
13
14
15
16
17
pm.start_servers = 5
pm.min_spare_servers = 2
pm.max_spare_servers = 5
pm.max_requests = 2000

18
php_admin_value[open_basedir] = {{ flyspray_dir }}:/tmp
19
20
21
22
23
php_admin_value[opcache.memory_consumption] = 128
php_admin_value[opcache.interned_strings_buffer] = 8
php_admin_value[opcache.max_accelerated_files] = 200
php_admin_value[opcache.revalidate_freq] = 60
php_admin_value[opcache.fast_shutdown] = 1
24
php_admin_value[disable_functions] = virtual, dl, symlink, suexec, popen, proc_nice, proc_open, proc_terminate, exec, passthru, system, show_source, shell_exec, escapeshellcmd, escapeshellarg, proc_get_status, pclose
25
php_admin_flag[allow_url_fopen] = off