Blame SOURCES/php-fpm.conf

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