php-fpm.conf
Posted 风中驻足
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了php-fpm.conf相关的知识,希望对你有一定的参考价值。
[global]
pid = /usr/local/php/var/run/php-fpm.pid
error_log = /usr/local/php/var/log/php-fpm.log
log_level = notice
[www]
listen = /tmp/php-cgi.sock
listen.backlog = -1
listen.allowed_clients = 127.0.0.1
listen.owner = www
listen.group = www
listen.mode = 0666
user = www
group = www
pm = dynamic
pm.max_children = 60
pm.start_servers = 30
pm.min_spare_servers = 30
pm.max_spare_servers = 60
request_terminate_timeout = 100
request_slowlog_timeout = 0
slowlog = var/log/slow.log
pm.status_path = /status
以上是关于php-fpm.conf的主要内容,如果未能解决你的问题,请参考以下文章