summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/t/php-fpm/etc
diff options
context:
space:
mode:
Diffstat (limited to 'debian/perl-framework/t/php-fpm/etc')
-rw-r--r--debian/perl-framework/t/php-fpm/etc/php-fpm.conf19
-rw-r--r--debian/perl-framework/t/php-fpm/etc/php-fpm.d/www.conf7
2 files changed, 26 insertions, 0 deletions
diff --git a/debian/perl-framework/t/php-fpm/etc/php-fpm.conf b/debian/perl-framework/t/php-fpm/etc/php-fpm.conf
new file mode 100644
index 0000000..1a2def0
--- /dev/null
+++ b/debian/perl-framework/t/php-fpm/etc/php-fpm.conf
@@ -0,0 +1,19 @@
+;;;;;;;;;;;;;;;;;;;;;
+; FPM Configuration ;
+;;;;;;;;;;;;;;;;;;;;;
+
+; All relative paths in this configuration file are relative to PHP's install
+; prefix (/usr/local). This prefix can be dynamically changed by using the
+; '-p' argument from the command line.
+
+;;;;;;;;;;;;;;;;;;
+; Global Options ;
+;;;;;;;;;;;;;;;;;;
+
+[global]
+
+error_log = log/php-fpm.log
+syslog.ident = php-fpm
+log_level = notice
+daemonize = no
+include=etc/php-fpm.d/*.conf
diff --git a/debian/perl-framework/t/php-fpm/etc/php-fpm.d/www.conf b/debian/perl-framework/t/php-fpm/etc/php-fpm.d/www.conf
new file mode 100644
index 0000000..1952525
--- /dev/null
+++ b/debian/perl-framework/t/php-fpm/etc/php-fpm.d/www.conf
@@ -0,0 +1,7 @@
+; Start a new pool named 'www'.
+; the variable $pool can be used in any directive and will be replaced by the
+; pool name ('www' here)
+[www]
+listen = 127.0.0.1:9001
+pm = static
+pm.max_children = 1