Skip to content

Commit

Permalink
Merge pull request #1399 from ioannidesalex/patch-17
Browse files Browse the repository at this point in the history
Update socket.tpl
  • Loading branch information
serghey-rodin committed Dec 28, 2017
2 parents 9410856 + 34c45bc commit d6b1ca6
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions install/ubuntu/16.04/templates/web/php-fpm/socket.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,17 @@ group = %user%
listen.owner = %user%
listen.group = www-data

pm = dynamic
pm.max_children = 50
pm.start_servers = 3
pm.min_spare_servers = 2
pm.max_spare_servers = 10
pm = ondemand
pm.max_children = 4
pm.max_requests = 4000
pm.process_idle_timeout = 10s
pm.status_path = /status

php_admin_value[upload_tmp_dir] = /home/%user%/tmp
php_admin_value[session.save_path] = /home/%user%/tmp

env[HOSTNAME] = $HOSTNAME
env[PATH] = /usr/local/bin:/usr/bin:/bin
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp
env[TMP] = /home/%user%/tmp
env[TMPDIR] = /home/%user%/tmp
env[TEMP] = /home/%user%/tmp

0 comments on commit d6b1ca6

Please sign in to comment.