Created
April 29, 2012 15:56
-
-
Save corpix/2551518 to your computer and use it in GitHub Desktop.
php-fpm config
This file contains hidden or 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
[www] | |
listen = /var/run/php-fpm/php-fpm.sock | |
listen.owner = php-fpm | |
listen.group = php-fpm | |
listen.mode = 0666 | |
user = php-fpm | |
group = php-fpm | |
pm = dynamic | |
pm.max_children = 50 | |
pm.start_servers = 5 | |
pm.min_spare_servers = 5 | |
pm.max_spare_servers = 35 | |
pm.max_requests = 50 | |
slowlog = /var/log/php-fpm/www-slow.log | |
security.limit_extensions = .php | |
php_admin_value[error_log] = /var/log/php-fpm/www-error.log | |
php_admin_value[session.save_path] = /var/lib/php/session | |
php_admin_flag[log_errors] = on | |
php_admin_value[memory_limit] = 1024M | |
php_admin_value[upload_max_filesize] = 5G | |
php_admin_value[post_max_size] = 5G |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment