AjoutĀ : etc/php5/fpm/org/heureux-cyclage/lhc_clav_lyon
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Wed, 15 Apr 2015 09:10:27 +0000 (11:10 +0200)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Wed, 15 Apr 2015 09:10:27 +0000 (11:10 +0200)
srv/ateliers/etc/php5/... [new symlink]
srv/ateliers/etc/php5/fpm/... [new symlink]
srv/ateliers/etc/php5/fpm/fpm [new symlink]
srv/ateliers/etc/php5/fpm/org/... [new symlink]
srv/ateliers/etc/php5/fpm/org/heureux-cyclage/... [new symlink]
srv/ateliers/etc/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/... [new symlink]
srv/ateliers/etc/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/php-fpm.conf.m4 [new file with mode: 0644]
srv/ateliers/etc/php5/fpm/php-fpm.conf [new file with mode: 0644]

diff --git a/srv/ateliers/etc/php5/... b/srv/ateliers/etc/php5/...
new file mode 120000 (symlink)
index 0000000..951b30d
--- /dev/null
@@ -0,0 +1 @@
+../...
\ No newline at end of file
diff --git a/srv/ateliers/etc/php5/fpm/... b/srv/ateliers/etc/php5/fpm/...
new file mode 120000 (symlink)
index 0000000..951b30d
--- /dev/null
@@ -0,0 +1 @@
+../...
\ No newline at end of file
diff --git a/srv/ateliers/etc/php5/fpm/fpm b/srv/ateliers/etc/php5/fpm/fpm
new file mode 120000 (symlink)
index 0000000..5b5c2d5
--- /dev/null
@@ -0,0 +1 @@
+.../lib/tool/admin/etc/php5/fpm/
\ No newline at end of file
diff --git a/srv/ateliers/etc/php5/fpm/org/... b/srv/ateliers/etc/php5/fpm/org/...
new file mode 120000 (symlink)
index 0000000..951b30d
--- /dev/null
@@ -0,0 +1 @@
+../...
\ No newline at end of file
diff --git a/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/... b/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/...
new file mode 120000 (symlink)
index 0000000..951b30d
--- /dev/null
@@ -0,0 +1 @@
+../...
\ No newline at end of file
diff --git a/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/... b/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/...
new file mode 120000 (symlink)
index 0000000..951b30d
--- /dev/null
@@ -0,0 +1 @@
+../...
\ No newline at end of file
diff --git a/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/php-fpm.conf.m4 b/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/php-fpm.conf.m4
new file mode 100644 (file)
index 0000000..8acf077
--- /dev/null
@@ -0,0 +1,45 @@
+define(`POOL',patsubst(__file__,`^.*/fpm/\(.*\)/[^/]*$',`\1'))dnl
+CAT(sys/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/pool)
+[POOL]
+access.log = /home/www/log/php5/fpm/POOL/access.log
+catch_workers_output = no
+chdir = /
+env[HOSTNAME] = $HOSTNAME
+env[TEMP] = /tmp
+env[TMPDIR] = /tmp
+env[TMP] = /tmp
+group = CAT(sys/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/pool)
+#listen = 127.0.0.1:9000
+listen = /run/php5/fpm/POOL
+#listen.allowed_clients = 127.0.0.1
+listen.group = www-data
+listen.mode = 0660
+#listen.owner = www-data
+listen.backlog = -1
+ping.path = /ping
+pm = dynamic
+pm.max_children = 5
+pm.max_requests = 200
+pm.max_spare_servers = 4
+pm.min_spare_servers = 2
+pm.start_servers = 3
+pm.status_path = /status
+request_slowlog_timeout = 5s
+request_terminate_timeout = 120s
+rlimit_core = unlimited
+rlimit_files = 131072
+slowlog = /home/www/log/php5/fpm/POOL/slow.log
+user = CAT(sys/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/pool)
+#php_admin_value[extension] = pdo_mysql.so
+php_admin_value[extension] = mysql.so
+pm.max_children = 4
+pm.max_requests = 1000
+pm.max_spare_servers = 4
+pm.min_spare_servers = 2
+pm.process_idle_timeout = 60s
+pm.start_servers = 2
+request_slowlog_timeout = 5s
+request_terminate_timeout = 120s
+rlimit_core = unlimited
+rlimit_files = 131072
+security.limit_extensions = .php
diff --git a/srv/ateliers/etc/php5/fpm/php-fpm.conf b/srv/ateliers/etc/php5/fpm/php-fpm.conf
new file mode 100644 (file)
index 0000000..da642a2
--- /dev/null
@@ -0,0 +1,17 @@
+[global]
+daemonize = no
+emergency_restart_interval = 1m
+emergency_restart_threshold = 10
+error_log = syslog
+;events.mechanism = epoll
+log_level = warn
+;pid = /run/php5-fpm.pid
+process.max = 128
+process_control_timeout = 10s
+;rlimit_core = 0
+rlimit_files = 1024
+syslog.facility = daemon
+syslog.ident = php5-fpm
+
+include=/etc/php5/fpm/pool.d/*/php-fpm.conf
+include=/etc/php5/fpm/*/*/*/php-fpm.conf