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'> |
ad9058
|
11 |
listen.mode = <tmpl_var name='fpm_listen_mode'> |
8e2c2e
|
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 |
|
13aef5
|
31 |
env[HOSTNAME] = $HOSTNAME |
61bd1f
|
32 |
env[TMP] = <tmpl_var name='document_root'>/tmp |
FT |
33 |
env[TMPDIR] = <tmpl_var name='document_root'>/tmp |
|
34 |
env[TEMP] = <tmpl_var name='document_root'>/tmp |
13aef5
|
35 |
env[PATH] = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
61bd1f
|
36 |
|
533de4
|
37 |
<tmpl_if name='security_level' op='==' value='20'> |
L |
38 |
<tmpl_var name='enable_php_open_basedir'>php_admin_value[open_basedir] = <tmpl_var name='php_open_basedir'> |
f5895d
|
39 |
<tmpl_if name='custom_session_save_path' op='!=' value='y'> |
HHG |
40 |
php_admin_value[session.save_path] = <tmpl_var name='document_root'>/tmp |
|
41 |
</tmpl_if> |
bcb8eb
|
42 |
php_admin_value[upload_tmp_dir] = <tmpl_var name='document_root'>/tmp |
7fd658
|
43 |
php_admin_value[sendmail_path] = "/usr/sbin/sendmail -t -i -f webmaster@<tmpl_var name='domain'>" |
533de4
|
44 |
</tmpl_if> |
L |
45 |
|
|
46 |
<tmpl_loop name="custom_php_ini_settings"> |
|
47 |
<tmpl_var name='ini_setting'> |
7fd658
|
48 |
</tmpl_loop> |