Updated to PHP7.1. Improved the overall config based on the trafex/wordpress image

This commit is contained in:
Tim de Pater
2017-03-28 13:58:02 +02:00
parent 2b10ea0cee
commit acdeb2cbbb
6 changed files with 21 additions and 8 deletions

View File

@@ -26,3 +26,6 @@ pm.process_idle_timeout = 10s;
; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS.
; Default Value: 0
pm.max_requests = 500
; Make sure the FPM workers can reach the environment variables for configuration
clear_env = no

View File

@@ -65,5 +65,4 @@ http {
deny all;
}
}
include conf.d/*.conf;
}

View File

@@ -1,2 +1,2 @@
[Date]
date.timezone="Europe/Amsterdam"
date.timezone="UTC"

View File

@@ -7,6 +7,8 @@ stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
autorestart=false
startretries=0
[program:nginx]
command=nginx -g 'daemon off;'
@@ -14,3 +16,5 @@ stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
autorestart=false
startretries=0