commit | author | age
|
533de4
|
1 |
[<tmpl_var name='fpm_pool'>] |
L |
2 |
|
8e2c2e
|
3 |
<tmpl_if name='use_tcp'> |
F |
4 |
listen = 127.0.0.1:<tmpl_var name='fpm_port'> |
|
5 |
listen.allowed_clients = 127.0.0.1 |
|
6 |
</tmpl_if> |
|
7 |
<tmpl_if name='use_socket'> |
|
8 |
listen = <tmpl_var name='fpm_socket'> |
|
9 |
listen.owner = <tmpl_var name='fpm_user'> |
|
10 |
listen.group = <tmpl_var name='fpm_group'> |
|
11 |
listen.mode = 0660 |
|
12 |
</tmpl_if> |
533de4
|
13 |
|
L |
14 |
user = <tmpl_var name='fpm_user'> |
|
15 |
group = <tmpl_var name='fpm_group'> |
|
16 |
|
dd7ce4
|
17 |
pm = <tmpl_var name='pm'> |
445513
|
18 |
pm.max_children = <tmpl_var name='pm_max_children'> |
dd7ce4
|
19 |
<tmpl_if name='pm' op='==' value='dynamic'> |
445513
|
20 |
pm.start_servers = <tmpl_var name='pm_start_servers'> |
F |
21 |
pm.min_spare_servers = <tmpl_var name='pm_min_spare_servers'> |
|
22 |
pm.max_spare_servers = <tmpl_var name='pm_max_spare_servers'> |
dd7ce4
|
23 |
</tmpl_if> |
F |
24 |
<tmpl_if name='pm' op='==' value='ondemand'> |
|
25 |
pm.process_idle_timeout = <tmpl_var name='pm_process_idle_timeout'>s; |
|
26 |
</tmpl_if> |
|
27 |
pm.max_requests = <tmpl_var name='pm_max_requests'> |
533de4
|
28 |
|
L |
29 |
chdir = / |
|
30 |
|
|
31 |
<tmpl_if name='security_level' op='==' value='20'> |
|
32 |
<tmpl_var name='enable_php_open_basedir'>php_admin_value[open_basedir] = <tmpl_var name='php_open_basedir'> |
bcb8eb
|
33 |
php_admin_value[session.save_path] = <tmpl_var name='document_root'>/tmp |
F |
34 |
php_admin_value[upload_tmp_dir] = <tmpl_var name='document_root'>/tmp |
f63910
|
35 |
php_admin_value[sendmail_path] = "/usr/sbin/sendmail -t -i -fwebmaster@<tmpl_var name='domain'>" |
533de4
|
36 |
</tmpl_if> |
L |
37 |
|
|
38 |
<tmpl_loop name="custom_php_ini_settings"> |
|
39 |
<tmpl_var name='ini_setting'> |
498618
|
40 |
</tmpl_loop> |