Skip to content

Instantly share code, notes, and snippets.

@Strae
Created April 27, 2016 11:58
Show Gist options
  • Save Strae/c92c29cf4ed4ca80b59a5b839ca1f13d to your computer and use it in GitHub Desktop.
Save Strae/c92c29cf4ed4ca80b59a5b839ca1f13d to your computer and use it in GitHub Desktop.
PHP5 FPM simpliest pool config
[POOL]
listen = /var/run/php5.POOL.sock
listen.owner = www-data
listen.group = www-data
user = USER
group = USER
pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
php_admin_value[error_log] = /var/log/php5-fpm-POOL.log
php_admin_flag[log_errors] = on
php_admin_value[error_reporting] = E_ALL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment