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