summarylogtreecommitdiffstats
path: root/php-fpm.conf
diff options
context:
space:
mode:
authorJames An2015-08-04 13:42:42 -0400
committerJames An2015-08-04 13:42:42 -0400
commit703835cdb69a7daa97baeb106426bab803ed9ac2 (patch)
tree456987663050b6b71ad973378b601b82743af1b8 /php-fpm.conf
parent8580155e53937717ed5a0f6cebeb32eb2263a775 (diff)
downloadaur-703835cdb69a7daa97baeb106426bab803ed9ac2.tar.gz
Moved all systemd unit changes to their own aegir service units, set aegir user as an alias use of http, and reorganised PHP/-FPM configurations.
Diffstat (limited to 'php-fpm.conf')
-rw-r--r--php-fpm.conf30
1 files changed, 30 insertions, 0 deletions
diff --git a/php-fpm.conf b/php-fpm.conf
new file mode 100644
index 00000000000..8b8d0595b3b
--- /dev/null
+++ b/php-fpm.conf
@@ -0,0 +1,30 @@
+[aegir]
+user = http
+group = http
+
+; Listening interface settings
+listen = 127.0.0.1:9000
+listen.owner = http
+listen.group = http
+listen.mode = 0660
+
+; Process manager settings
+pm = dynamic
+pm.max_children = 5
+pm.start_servers = 2
+pm.min_spare_servers = 1
+pm.max_spare_servers = 3
+
+; Drupal requirements
+php_value[extension] = gd.so
+php_value[extension] = mysqli.so
+php_value[extension] = pdo_mysql.so
+php_value[mbstring.http_input] = pass
+php_value[mbstring.http_output] = pass
+php_value[date.timezone] = UTC
+php_value[open_basedir] =
+
+; Recommended settings
+php_value[memory_limit] = 192M
+php_value[display_errors] = stderr
+php_value[error_reporting] = E_ALL | E_NOTICE | E_STRICT