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