AjoutĀ : etc/nginx/org/heureux-cyclage/nuages/...
[lhc/admin.git] / srv / ateliers / etc / php5 / fpm / org / heureux-cyclage / nuages / php-fpm.conf.m4
diff --git a/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/nuages/php-fpm.conf.m4 b/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/nuages/php-fpm.conf.m4
new file mode 100644 (file)
index 0000000..e13d6c4
--- /dev/null
@@ -0,0 +1,34 @@
+define(`POOL',patsubst(__file__,`^.*/fpm/\(.*\)/[^/]*$',`\1'))dnl
+[POOL]
+access.log = CAT(sys/php5/fpm/POOL/log/home)/access.log
+catch_workers_output = no
+chdir = /
+env[HOSTNAME] = $HOSTNAME
+env[TEMP] = /tmp
+env[TMPDIR] = /tmp
+env[TMP] = /tmp
+group = CAT(sys/php5/fpm/POOL/user)
+#listen = 127.0.0.1:9000
+listen = CAT(sys/php5/fpm/POOL/socket)
+listen.backlog = -1
+listen.group = CAT(sys/nginx/user)
+listen.mode = 0660
+#listen.allowed_clients = 127.0.0.1
+#listen.owner = www-data
+php_admin_value[extension] = pdo_mysql.so
+ping.path = /ping
+pm = dynamic
+pm.max_children = 15
+pm.max_requests = 200
+pm.max_spare_servers = 3
+pm.min_spare_servers = 2
+pm.process_idle_timeout = 60s
+pm.start_servers = 2
+pm.status_path = /status
+request_slowlog_timeout = 5s
+request_terminate_timeout = 120s
+rlimit_core = unlimited
+rlimit_files = 131072
+security.limit_extensions = .php
+slowlog = CAT(sys/php5/fpm/POOL/log/home)/slow.log
+user = CAT(sys/php5/fpm/POOL/user)