X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fadmin.git;a=blobdiff_plain;f=srv%2Fateliers%2Fetc%2Fphp5%2Ffpm%2Forg%2Fheureux-cyclage%2Fnuages%2Fphp-fpm.conf.m4;fp=srv%2Fateliers%2Fetc%2Fphp5%2Ffpm%2Forg%2Fheureux-cyclage%2Fnuages%2Fphp-fpm.conf.m4;h=e13d6c4bd5cf35c0c1f5a333e1418cb476840f96;hp=0000000000000000000000000000000000000000;hb=a5f6bd5591570a9ee59577a6484edfabf81f1bb7;hpb=9d554deb18f9eb34e01ae0b280f1a1ef04f324b3 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 index 0000000..e13d6c4 --- /dev/null +++ b/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/nuages/php-fpm.conf.m4 @@ -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)