1 define(`POOL',patsubst(__file__,`^.*/fpm/\(.*\)/[^/]*$',`\1'))dnl
2 CAT(sys/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/pool)
4 access.log = /home/www/log/php5/fpm/POOL/access.log
5 catch_workers_output = no
7 env[HOSTNAME] = $HOSTNAME
11 group = CAT(sys/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/pool)
12 #listen = 127.0.0.1:9000
13 listen = /run/php5/fpm/POOL
14 #listen.allowed_clients = 127.0.0.1
15 listen.group = www-data
17 #listen.owner = www-data
23 pm.max_spare_servers = 4
24 pm.min_spare_servers = 2
26 pm.status_path = /status
27 request_slowlog_timeout = 5s
28 request_terminate_timeout = 120s
29 rlimit_core = unlimited
31 slowlog = /home/www/log/php5/fpm/POOL/slow.log
32 user = CAT(sys/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/pool)
33 #php_admin_value[extension] = pdo_mysql.so
34 php_admin_value[extension] = mysql.so
36 pm.max_requests = 1000
37 pm.max_spare_servers = 4
38 pm.min_spare_servers = 2
39 pm.process_idle_timeout = 60s
41 request_slowlog_timeout = 5s
42 request_terminate_timeout = 120s
43 rlimit_core = unlimited
45 security.limit_extensions = .php