AjoutĀ : etc/nginx/org/heureux-cyclage/questionnaires
[lhc/admin.git] / srv / ateliers / etc / php5 / fpm / org / heureux-cyclage / questionnaires / php-fpm.conf.m4
1 define(`POOL',patsubst(__file__,`^.*/fpm/\(.*\)/[^/]*$',`\1'))dnl
2 [POOL]
3 access.log = CAT(sys/php5/fpm/POOL/log/home)/access.log
4 catch_workers_output = no
5 chdir = /
6 env[HOSTNAME] = $HOSTNAME
7 env[TEMP] = /tmp
8 env[TMPDIR] = /tmp
9 env[TMP] = /tmp
10 group = CAT(sys/php5/fpm/POOL/user)
11 #listen = 127.0.0.1:9000
12 #listen.allowed_clients = 127.0.0.1
13 #listen.owner = www-data
14 listen = CAT(sys/php5/fpm/POOL/socket)
15 listen.backlog = -1
16 listen.group = CAT(sys/nginx/user)
17 listen.mode = 0660
18 php_admin_value[extension] = pdo_mysql.so
19 php_value[allow_url_fopen] = On
20 ping.path = /ping
21 pm = dynamic
22 pm.max_children = 15
23 pm.max_requests = 200
24 pm.max_spare_servers = 5
25 pm.min_spare_servers = 1
26 pm.process_idle_timeout = 60s
27 pm.start_servers = 1
28 pm.status_path = /status
29 request_slowlog_timeout = 5s
30 request_slowlog_timeout = 5s
31 request_terminate_timeout = 120s
32 request_terminate_timeout = 120s
33 rlimit_core = unlimited
34 rlimit_core = unlimited
35 rlimit_files = 131072
36 rlimit_files = 131072
37 security.limit_extensions = .php
38 slowlog = CAT(sys/php5/fpm/POOL/log/home)/slow.log
39 user = CAT(sys/php5/fpm/POOL/user)