Created
April 27, 2016 11:58
-
-
Save Strae/c92c29cf4ed4ca80b59a5b839ca1f13d to your computer and use it in GitHub Desktop.
PHP5 FPM simpliest pool config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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