Skip to content

Instantly share code, notes, and snippets.

@bouassaba
Created November 17, 2014 00:34
Show Gist options
  • Save bouassaba/f2e9ae2509644228b179 to your computer and use it in GitHub Desktop.
Save bouassaba/f2e9ae2509644228b179 to your computer and use it in GitHub Desktop.
FreeBSD php-fpm.conf
[global]
pid = run/php-fpm.pid
[PYDIO]
listen = 127.0.0.1:9000
listen.owner = www
listen.group = www
listen.mode = 0666
listen.backlog = -1
listen.allowed_clients = 127.0.0.1
user = www
group = www
pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
pm.max_requests = 500
env[HOSTNAME] = $HOSTNAME
env[PATH] = /usr/local/bin:/usr/bin:/bin
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment