carlwgeorge / rpms / php

Forked from rpms/php 5 years ago
Clone
f9d3d47
;;;;;;;;;;;;;;;;;;;;;
f9d3d47
; FPM Configuration ;
f9d3d47
;;;;;;;;;;;;;;;;;;;;;
f9d3d47
f9d3d47
; All relative paths in this configuration file are relative to PHP's install
f9d3d47
; prefix.
f9d3d47
f9d3d47
; Include one or more files. If glob(3) exists, it is used to include a bunch of
f9d3d47
; files from a glob(3) pattern. This directive can be used everywhere in the
f9d3d47
; file.
f9d3d47
include=/etc/php-fpm.d/*.conf
f9d3d47
f9d3d47
;;;;;;;;;;;;;;;;;;
f9d3d47
; Global Options ;
f9d3d47
;;;;;;;;;;;;;;;;;;
f9d3d47
f9d3d47
[global]
f9d3d47
; Pid file
f9d3d47
; Default Value: none
922e10e
pid = /run/php-fpm/php-fpm.pid
f9d3d47
f9d3d47
; Error log file
98603bc
; If it's set to "syslog", log is sent to syslogd instead of being written
98603bc
; in a local file.
f9d3d47
; Default Value: /var/log/php-fpm.log
f9d3d47
error_log = /var/log/php-fpm/error.log
f9d3d47
98603bc
; syslog_facility is used to specify what type of program is logging the
98603bc
; message. This lets syslogd specify that messages from different facilities
98603bc
; will be handled differently.
98603bc
; See syslog(3) for possible values (ex daemon equiv LOG_DAEMON)
98603bc
; Default Value: daemon
98603bc
;syslog.facility = daemon
98603bc
98603bc
; syslog_ident is prepended to every message. If you have multiple FPM
98603bc
; instances running on the same server, you can change the default value
98603bc
; which must suit common needs.
98603bc
; Default Value: php-fpm
98603bc
;syslog.ident = php-fpm
98603bc
f9d3d47
; Log level
f9d3d47
; Possible Values: alert, error, warning, notice, debug
f9d3d47
; Default Value: notice
f9d3d47
;log_level = notice
f9d3d47
f9d3d47
; If this number of child processes exit with SIGSEGV or SIGBUS within the time
f9d3d47
; interval set by emergency_restart_interval then FPM will restart. A value
f9d3d47
; of '0' means 'Off'.
f9d3d47
; Default Value: 0
f9d3d47
;emergency_restart_threshold = 0
f9d3d47
f9d3d47
; Interval of time used by emergency_restart_interval to determine when 
f9d3d47
; a graceful restart will be initiated.  This can be useful to work around
f9d3d47
; accidental corruptions in an accelerator's shared memory.
f9d3d47
; Available Units: s(econds), m(inutes), h(ours), or d(ays)
f9d3d47
; Default Unit: seconds
f9d3d47
; Default Value: 0
f9d3d47
;emergency_restart_interval = 0
f9d3d47
f9d3d47
; Time limit for child processes to wait for a reaction on signals from master.
f9d3d47
; Available units: s(econds), m(inutes), h(ours), or d(ays)
f9d3d47
; Default Unit: seconds
f9d3d47
; Default Value: 0
f9d3d47
;process_control_timeout = 0
f9d3d47
98603bc
; The maximum number of processes FPM will fork. This has been design to control
98603bc
; the global number of processes when using dynamic PM within a lot of pools.
98603bc
; Use it with caution.
98603bc
; Note: A value of 0 indicates no limit
98603bc
; Default Value: 0
98603bc
;process.max = 128
98603bc
98603bc
; Specify the nice(2) priority to apply to the master process (only if set)
98603bc
; The value can vary from -19 (highest priority) to 20 (lower priority)
98603bc
; Note: - It will only work if the FPM master process is launched as root
98603bc
;       - The pool process will inherit the master process priority
98603bc
;         unless it specified otherwise
98603bc
; Default Value: no set
98603bc
;process.priority = -19
98603bc
f9d3d47
; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging.
f9d3d47
; Default Value: yes
70b90e2
daemonize = yes
f9d3d47
98603bc
; Set open file descriptor rlimit for the master process.
98603bc
; Default Value: system defined value
98603bc
;rlimit_files = 1024
98603bc
98603bc
; Set max core size rlimit for the master process.
98603bc
; Possible Values: 'unlimited' or an integer greater or equal to 0
98603bc
; Default Value: system defined value
98603bc
;rlimit_core = 0
98603bc
98603bc
; Specify the event mechanism FPM will use. The following is available:
98603bc
; - select     (any POSIX os)
98603bc
; - poll       (any POSIX os)
98603bc
; - epoll      (linux >= 2.5.44)
98603bc
; Default Value: not set (auto detection)
98603bc
;events.mechanism = epoll
98603bc
98603bc
; When FPM is build with systemd integration, specify the interval,
98603bc
; in second, between health report notification to systemd.
98603bc
; Set to 0 to disable.
98603bc
; Available Units: s(econds), m(inutes), h(ours)
98603bc
; Default Unit: seconds
98603bc
; Default value: 10
98603bc
;systemd_interval = 10
98603bc
f9d3d47
;;;;;;;;;;;;;;;;;;;;
f9d3d47
; Pool Definitions ; 
f9d3d47
;;;;;;;;;;;;;;;;;;;;
f9d3d47
f9d3d47
; See /etc/php-fpm.d/*.conf
f9d3d47