This commit is contained in:
konrad
2017-06-11 18:16:46 +02:00
parent d32387b0e8
commit 4e69f9a945
9 changed files with 178 additions and 0 deletions

17
conf/php/conf.d/php.ini Normal file
View File

@@ -0,0 +1,17 @@
expose_php = Off
error_reporting = E_ALL
display_errors = Off
log_errors = On
error_log = /dev/stderr
cgi.fix_pathinfo=0
date.timezone = Europe/Berlin
allow_url_fopen = On
post_max_size = 1300M
upload_max_filesize = 1024M
opcache.max_accelerated_files = 7963
opcache.validate_timestamps = Off
opcache.save_comments = 0
opcache.load_comments = 0
opcache.fast_shutdown = 1
opcache.enable_file_override = On
session.save_path = "/var/session"

20
conf/php/php-fpm.conf Normal file
View File

@@ -0,0 +1,20 @@
[global]
error_log = /proc/self/fd/2
log_level = error
daemonize = no
[www]
catch_workers_output = yes
user = nginx
group = nginx
listen.owner = nginx
listen.group = nginx
listen = /var/run/php-fpm.sock
pm = dynamic
pm.max_children = 20
pm.start_servers = 1
pm.min_spare_servers = 1
pm.max_spare_servers = 3
pm.max_requests = 2048
include = /etc/php7/php-fpm.d/env.conf