From 0d83da96381d3a5fa872266c06a7ef8fe4ed8b6e Mon Sep 17 00:00:00 2001 From: Alexandros Ioannides Date: Thu, 28 Dec 2017 18:30:00 +0200 Subject: [PATCH 1/2] Update no-php.tpl --- .../16.04/templates/web/php-fpm/no-php.tpl | 25 ++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/install/ubuntu/16.04/templates/web/php-fpm/no-php.tpl b/install/ubuntu/16.04/templates/web/php-fpm/no-php.tpl index e677f3e9..e53a1b6f 100644 --- a/install/ubuntu/16.04/templates/web/php-fpm/no-php.tpl +++ b/install/ubuntu/16.04/templates/web/php-fpm/no-php.tpl @@ -1,13 +1,20 @@ ;[%backend%] -;user = %user% -;group = %user% ;listen = /dev/null -;listen.owner = %user% -;listen.group = nginx +;user = %user% +;group = %user% -;pm = dynamic -;pm.max_children = 50 -;pm.start_servers = 3 -;pm.min_spare_servers = 2 -;pm.max_spare_servers = 10 +;listen.owner = %user% +;listen.group = www-data + +;pm = ondemand +;pm.max_children = 2 +;pm.max_requests = 4000 +;pm.process_idle_timeout = 10s +;pm.status_path = /status + +;env[HOSTNAME] = $HOSTNAME +;env[PATH] = /usr/local/bin:/usr/bin:/bin +;env[TMP] = /home/%user%/tmp +;env[TMPDIR] = /home/%user%/tmp +;env[TEMP] = /home/%user%/tmp From 28e31835c88e8e36e3485a4ad46de28d89ee1fb3 Mon Sep 17 00:00:00 2001 From: Alexandros Ioannides Date: Thu, 28 Dec 2017 18:42:17 +0200 Subject: [PATCH 2/2] Update no-php.tpl --- install/ubuntu/16.04/templates/web/php-fpm/no-php.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/ubuntu/16.04/templates/web/php-fpm/no-php.tpl b/install/ubuntu/16.04/templates/web/php-fpm/no-php.tpl index e53a1b6f..047c33ed 100644 --- a/install/ubuntu/16.04/templates/web/php-fpm/no-php.tpl +++ b/install/ubuntu/16.04/templates/web/php-fpm/no-php.tpl @@ -8,7 +8,7 @@ ;listen.group = www-data ;pm = ondemand -;pm.max_children = 2 +;pm.max_children = 4 ;pm.max_requests = 4000 ;pm.process_idle_timeout = 10s ;pm.status_path = /status