;;;;;;;;;;;;;;;;;; ; Global Options ; ;;;;;;;;;;;;;;;;;; [global] pid = run/php-fpm.pid error_log = log/error.log daemonize = yes log_level = warning ;syslog.facility = daemon ;syslog.ident = php-fpm ; golbal max fork process process.max = 64 ;child reuse timeout process_control_timeout = 10s ;emergency_restart_threshold = 3 ;emergency_restart_interval = 60s ;process.priority = -19 ;rlimit_files = 10240 ;rlimit_core = 0 ;systemd_interval = 10 ; Specify the event mechanism FPM will use. The following is available: ; - select (any POSIX os) ; - poll (any POSIX os) ; - epoll (linux >= 2.5.44) ; - kqueue (FreeBSD >= 4.1, OpenBSD >= 2.9, NetBSD >= 2.0) ; - /dev/poll (Solaris >= 7) ; - port (Solaris >= 10) ; Default Value: not set (auto detection) events.mechanism = epoll ;;;;;;;;;;;;;;;;;;;; ; Pool Definitions ; ;;;;;;;;;;;;;;;;;;;; [oracle] prefix = /home/php user = oracle group = oracle ;listen.owner = oracle ;listen.group = dba ;listen.backlog = 128 ;listen = 127.0.0.1:9000 listen = /tmp/php-cgi.sock listen.backlog = 2048 ; Default Value: any listen.allowed_clients = 127.0.0.1 ; Choose how the process manager will control the number of child processes. Possible Values: ; static - a fixed number (pm.max_children) of child processes; ; dynamic - the number of child processes are set dynamically based on the ; ondemand - no children are created at startup. Children will be forked when pm = dynamic ;pm is `static` only pm.max_children = 100 pm.start_servers = 20 pm.min_spare_servers = 10 pm.max_spare_servers = 20 ;pm.status_path = /status pm.max_requests = 2000 pm.process_idle_timeout = 300s ;php max_block timeout request_terminate_timeout = 120s rlimit_files = 10240 catch_workers_output = yes ;access.log = var/log/access.log ;access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{mili}d %{kilo}M %C%%" slowlog = var/log/slow.log request_slowlog_timeout = 75s ;chroot = ;chdir = /var/www ;ping.path = /ping ;ping.response = pong ;Default Value: .php ;security.limit_extensions = .php .php3 .php4 .php5 ;Default Value: clean env env[HOSTNAME] = $HOSTNAME env[PATH] = /usr/local/bin:/usr/bin:/bin:/home/php/bin env[TMP] = /tmp env[TMPDIR] = /tmp env[TEMP] = /tmp php_admin_value[memory_limit] = 256M ;php_flag[display_errors] = off ;php_admin_flag[log_errors] = on ;php_admin_value[error_log] = /var/log/fpm-php.www.log ;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com