AjoutĀ : etc/php5/fpm/org/chatperche/...
[lhc/admin.git] / srv / ateliers / etc / php5 / fpm / org / chatperche / www / 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 = CAT(sys/php5/fpm/POOL/socket)
13 #listen.allowed_clients = 127.0.0.1
14 listen.group = CAT(sys/nginx/user)
15 listen.mode = 0660
16 #listen.owner = www-data
17 listen.backlog = -1
18 ping.path = /ping
19 pm = dynamic
20 pm.max_children = 5
21 pm.max_requests = 200
22 pm.max_spare_servers = 4
23 pm.min_spare_servers = 2
24 pm.start_servers = 3
25 pm.status_path = /status
26 request_slowlog_timeout = 5s
27 request_terminate_timeout = 120s
28 rlimit_core = unlimited
29 rlimit_files = 131072
30 slowlog = CAT(sys/php5/fpm/POOL/log/home)/slow.log
31 user = CAT(sys/php5/fpm/POOL/user)
32 #php_admin_value[extension] = pdo_mysql.so
33 php_admin_value[extension] = mysql.so
34 php_value[allow_url_fopen] = On
35 pm.max_children = 4
36 pm.max_requests = 1000
37 pm.max_spare_servers = 4
38 pm.min_spare_servers = 2
39 pm.process_idle_timeout = 60s
40 pm.start_servers = 2
41 request_slowlog_timeout = 5s
42 request_terminate_timeout = 120s
43 rlimit_core = unlimited
44 rlimit_files = 131072
45 security.limit_extensions = .php