Skip to content

Instantly share code, notes, and snippets.

@LeoAdamek
Created July 7, 2013 14:49
Show Gist options
  • Select an option

  • Save LeoAdamek/5943699 to your computer and use it in GitHub Desktop.

Select an option

Save LeoAdamek/5943699 to your computer and use it in GitHub Desktop.
php.conf
;;
;; Configuration for:
;; * leo.adamek.me
;;
[leo.adamek.me]
pid = /run/php/leo.adamek.me.pid
error_log = /home/leo/logs/leo.adamek.me.error.log
daemonize = yes
listen = /run/php/leo.adamek.me.sock
listen.owner = leo-php
listen.group = nginx
listen.mode = 750
user = leo-php
group = leo-php
;; Use static number of processes. (2 * CPUs)
pm = static
pm.max_children = 16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment