<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://wiki.webko.net.ua/index.php?action=history&amp;feed=atom&amp;title=Php-fpm.conf</id>
	<title>Php-fpm.conf - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.webko.net.ua/index.php?action=history&amp;feed=atom&amp;title=Php-fpm.conf"/>
	<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=Php-fpm.conf&amp;action=history"/>
	<updated>2026-04-19T18:03:21Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=Php-fpm.conf&amp;diff=411&amp;oldid=prev</id>
		<title>Sol в 12:24, 19 марта 2016</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=Php-fpm.conf&amp;diff=411&amp;oldid=prev"/>
		<updated>2016-03-19T12:24:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия 12:24, 19 марта 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Строка 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Категория: OwnCloud]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Категория: OwnCloud]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;bash&lt;/del&gt;&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''improving huge file sync''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;php&lt;/ins&gt;&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;;;;;;;;;;;;;;;;;;;;;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;;;;;;;;;;;;;;;;;;;;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; FPM Configuration ;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; FPM Configuration ;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
	<entry>
		<id>https://wiki.webko.net.ua/index.php?title=Php-fpm.conf&amp;diff=409&amp;oldid=prev</id>
		<title>Sol: Новая страница: «Категория: OwnCloud  &lt;syntaxhighlight lang=&quot;bash&quot;&gt; ;;;;;;;;;;;;;;;;;;;;; ; FPM Configuration ; ;;;;;;;;;;;;;;;;;;;;;  ; All relative paths in this co…»</title>
		<link rel="alternate" type="text/html" href="https://wiki.webko.net.ua/index.php?title=Php-fpm.conf&amp;diff=409&amp;oldid=prev"/>
		<updated>2016-03-19T12:20:27Z</updated>

		<summary type="html">&lt;p&gt;Новая страница: «&lt;a href=&quot;/index.php?title=%D0%9A%D0%B0%D1%82%D0%B5%D0%B3%D0%BE%D1%80%D0%B8%D1%8F:OwnCloud&quot; title=&quot;Категория:OwnCloud&quot;&gt;Категория: OwnCloud&lt;/a&gt;  &amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt; ;;;;;;;;;;;;;;;;;;;;; ; FPM Configuration ; ;;;;;;;;;;;;;;;;;;;;;  ; All relative paths in this co…»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Категория: OwnCloud]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
;;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;
; FPM Configuration ;&lt;br /&gt;
;;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;
&lt;br /&gt;
; All relative paths in this configuration file are relative to PHP's install&lt;br /&gt;
; prefix (/opt/syncloud-owncloud/php). This prefix can be dynamically changed by using the&lt;br /&gt;
; '-p' argument from the command line.&lt;br /&gt;
&lt;br /&gt;
; Include one or more files. If glob(3) exists, it is used to include a bunch of&lt;br /&gt;
; files from a glob(3) pattern. This directive can be used everywhere in the&lt;br /&gt;
; file.&lt;br /&gt;
; Relative path can also be used. They will be prefixed by:&lt;br /&gt;
;  - the global prefix if it's been set (-p argument)&lt;br /&gt;
;  - /opt/syncloud-owncloud/php otherwise&lt;br /&gt;
;include=etc/fpm.d/*.conf&lt;br /&gt;
&lt;br /&gt;
;;;;;;;;;;;;;;;;;;&lt;br /&gt;
; Global Options ;&lt;br /&gt;
;;;;;;;;;;;;;;;;;;&lt;br /&gt;
&lt;br /&gt;
[global]&lt;br /&gt;
; Pid file&lt;br /&gt;
; Note: the default prefix is /opt/syncloud-owncloud/php/var&lt;br /&gt;
; Default Value: none&lt;br /&gt;
pid = /opt/data/owncloud/php-fpm.pid&lt;br /&gt;
&lt;br /&gt;
; Error log file&lt;br /&gt;
; If it's set to &amp;quot;syslog&amp;quot;, log is sent to syslogd instead of being written&lt;br /&gt;
; in a local file.&lt;br /&gt;
; Note: the default prefix is /opt/syncloud-owncloud/php/var&lt;br /&gt;
; Default Value: log/php-fpm.log&lt;br /&gt;
error_log = /opt/data/owncloud/log/php-fpm.log&lt;br /&gt;
&lt;br /&gt;
; syslog_facility is used to specify what type of program is logging the&lt;br /&gt;
; message. This lets syslogd specify that messages from different facilities&lt;br /&gt;
; will be handled differently.&lt;br /&gt;
; See syslog(3) for possible values (ex daemon equiv LOG_DAEMON)&lt;br /&gt;
; Default Value: daemon&lt;br /&gt;
;syslog.facility = daemon&lt;br /&gt;
&lt;br /&gt;
; syslog_ident is prepended to every message. If you have multiple FPM&lt;br /&gt;
; instances running on the same server, you can change the default value&lt;br /&gt;
; which must suit common needs.&lt;br /&gt;
; Default Value: php-fpm&lt;br /&gt;
;syslog.ident = php-fpm&lt;br /&gt;
&lt;br /&gt;
; Log level&lt;br /&gt;
; Possible Values: alert, error, warning, notice, debug&lt;br /&gt;
; Default Value: notice&lt;br /&gt;
;log_level = notice&lt;br /&gt;
&lt;br /&gt;
; If this number of child processes exit with SIGSEGV or SIGBUS within the time&lt;br /&gt;
; interval set by emergency_restart_interval then FPM will restart. A value&lt;br /&gt;
; of '0' means 'Off'.&lt;br /&gt;
; Default Value: 0&lt;br /&gt;
;emergency_restart_threshold = 0&lt;br /&gt;
&lt;br /&gt;
; Interval of time used by emergency_restart_interval to determine when &lt;br /&gt;
; a graceful restart will be initiated.  This can be useful to work around&lt;br /&gt;
; accidental corruptions in an accelerator's shared memory.&lt;br /&gt;
; Available Units: s(econds), m(inutes), h(ours), or d(ays)&lt;br /&gt;
; Default Unit: seconds&lt;br /&gt;
; Default Value: 0&lt;br /&gt;
;emergency_restart_interval = 0&lt;br /&gt;
&lt;br /&gt;
; Time limit for child processes to wait for a reaction on signals from master.&lt;br /&gt;
; Available units: s(econds), m(inutes), h(ours), or d(ays)&lt;br /&gt;
; Default Unit: seconds&lt;br /&gt;
; Default Value: 0&lt;br /&gt;
;process_control_timeout = 0&lt;br /&gt;
&lt;br /&gt;
; The maximum number of processes FPM will fork. This has been design to control&lt;br /&gt;
; the global number of processes when using dynamic PM within a lot of pools.&lt;br /&gt;
; Use it with caution.&lt;br /&gt;
; Note: A value of 0 indicates no limit&lt;br /&gt;
; Default Value: 0&lt;br /&gt;
; process.max = 128&lt;br /&gt;
&lt;br /&gt;
; Specify the nice(2) priority to apply to the master process (only if set)&lt;br /&gt;
; The value can vary from -19 (highest priority) to 20 (lower priority)&lt;br /&gt;
; Note: - It will only work if the FPM master process is launched as root&lt;br /&gt;
;       - The pool process will inherit the master process priority&lt;br /&gt;
;         unless it specified otherwise&lt;br /&gt;
; Default Value: no set&lt;br /&gt;
; process.priority = -19&lt;br /&gt;
&lt;br /&gt;
; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging.&lt;br /&gt;
; Default Value: yes&lt;br /&gt;
;daemonize = yes&lt;br /&gt;
 &lt;br /&gt;
; Set open file descriptor rlimit for the master process.&lt;br /&gt;
; Default Value: system defined value&lt;br /&gt;
;rlimit_files = 1024&lt;br /&gt;
 &lt;br /&gt;
; Set max core size rlimit for the master process.&lt;br /&gt;
; Possible Values: 'unlimited' or an integer greater or equal to 0&lt;br /&gt;
; Default Value: system defined value&lt;br /&gt;
;rlimit_core = 0&lt;br /&gt;
&lt;br /&gt;
; Specify the event mechanism FPM will use. The following is available:&lt;br /&gt;
; - select     (any POSIX os)&lt;br /&gt;
; - poll       (any POSIX os)&lt;br /&gt;
; - epoll      (linux &amp;gt;= 2.5.44)&lt;br /&gt;
; - kqueue     (FreeBSD &amp;gt;= 4.1, OpenBSD &amp;gt;= 2.9, NetBSD &amp;gt;= 2.0)&lt;br /&gt;
; - /dev/poll  (Solaris &amp;gt;= 7)&lt;br /&gt;
; - port       (Solaris &amp;gt;= 10)&lt;br /&gt;
; Default Value: not set (auto detection)&lt;br /&gt;
;events.mechanism = epoll&lt;br /&gt;
&lt;br /&gt;
; When FPM is build with systemd integration, specify the interval,&lt;br /&gt;
; in second, between health report notification to systemd.&lt;br /&gt;
; Set to 0 to disable.&lt;br /&gt;
; Available Units: s(econds), m(inutes), h(ours)&lt;br /&gt;
; Default Unit: seconds&lt;br /&gt;
; Default value: 10&lt;br /&gt;
;systemd_interval = 10&lt;br /&gt;
&lt;br /&gt;
;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;
; Pool Definitions ; &lt;br /&gt;
;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;
&lt;br /&gt;
; Multiple pools of child processes may be started with different listening&lt;br /&gt;
; ports and different management options.  The name of the pool will be&lt;br /&gt;
; used in logs and stats. There is no limitation on the number of pools which&lt;br /&gt;
; FPM can handle. Your system will tell you anyway :)&lt;br /&gt;
&lt;br /&gt;
; Start a new pool named 'www'.&lt;br /&gt;
; the variable $pool can we used in any directive and will be replaced by the&lt;br /&gt;
; pool name ('www' here)&lt;br /&gt;
[www]&lt;br /&gt;
&lt;br /&gt;
; Per pool prefix&lt;br /&gt;
; It only applies on the following directives:&lt;br /&gt;
; - 'access.log'&lt;br /&gt;
; - 'slowlog'&lt;br /&gt;
; - 'listen' (unixsocket)&lt;br /&gt;
; - 'chroot'&lt;br /&gt;
; - 'chdir'&lt;br /&gt;
; - 'php_values'&lt;br /&gt;
; - 'php_admin_values'&lt;br /&gt;
; When not set, the global prefix (or /opt/syncloud-owncloud/php) applies instead.&lt;br /&gt;
; Note: This directive can also be relative to the global prefix.&lt;br /&gt;
; Default Value: none&lt;br /&gt;
;prefix = /path/to/pools/$pool&lt;br /&gt;
&lt;br /&gt;
; Unix user/group of processes&lt;br /&gt;
; Note: The user is mandatory. If the group is not set, the default user's group&lt;br /&gt;
;       will be used.&lt;br /&gt;
user = owncloud&lt;br /&gt;
group = owncloud&lt;br /&gt;
&lt;br /&gt;
; The address on which to accept FastCGI requests.&lt;br /&gt;
; Valid syntaxes are:&lt;br /&gt;
;   'ip.add.re.ss:port'    - to listen on a TCP socket to a specific IPv4 address on&lt;br /&gt;
;                            a specific port;&lt;br /&gt;
;   '[ip:6:addr:ess]:port' - to listen on a TCP socket to a specific IPv6 address on&lt;br /&gt;
;                            a specific port;&lt;br /&gt;
;   'port'                 - to listen on a TCP socket to all IPv4 addresses on a&lt;br /&gt;
;                            specific port;&lt;br /&gt;
;   '[::]:port'            - to listen on a TCP socket to all addresses&lt;br /&gt;
;                            (IPv6 and IPv4-mapped) on a specific port;&lt;br /&gt;
;   '/path/to/unix/socket' - to listen on a unix socket.&lt;br /&gt;
; Note: This value is mandatory.&lt;br /&gt;
listen = /opt/app/owncloud/php/var/php5-fpm.sock&lt;br /&gt;
&lt;br /&gt;
; Set listen(2) backlog.&lt;br /&gt;
; Default Value: 65535 (-1 on FreeBSD and OpenBSD)&lt;br /&gt;
;listen.backlog = 65535&lt;br /&gt;
&lt;br /&gt;
; Set permissions for unix socket, if one is used. In Linux, read/write&lt;br /&gt;
; permissions must be set in order to allow connections from a web server. Many&lt;br /&gt;
; BSD-derived systems allow connections regardless of permissions. &lt;br /&gt;
; Default Values: user and group are set as the running user&lt;br /&gt;
;                 mode is set to 0660&lt;br /&gt;
;listen.owner = nobody&lt;br /&gt;
;listen.group = nobody&lt;br /&gt;
;listen.mode = 0660&lt;br /&gt;
; When POSIX Access Control Lists are supported you can set them using&lt;br /&gt;
; these options, value is a comma separated list of user/group names.&lt;br /&gt;
; When set, listen.owner and listen.group are ignored&lt;br /&gt;
;listen.acl_users =&lt;br /&gt;
;listen.acl_groups =&lt;br /&gt;
 &lt;br /&gt;
; List of addresses (IPv4/IPv6) of FastCGI clients which are allowed to connect.&lt;br /&gt;
; Equivalent to the FCGI_WEB_SERVER_ADDRS environment variable in the original&lt;br /&gt;
; PHP FCGI (5.2.2+). Makes sense only with a tcp listening socket. Each address&lt;br /&gt;
; must be separated by a comma. If this value is left blank, connections will be&lt;br /&gt;
; accepted from any ip address.&lt;br /&gt;
; Default Value: any&lt;br /&gt;
;listen.allowed_clients = 127.0.0.1&lt;br /&gt;
&lt;br /&gt;
; Specify the nice(2) priority to apply to the pool processes (only if set)&lt;br /&gt;
; The value can vary from -19 (highest priority) to 20 (lower priority)&lt;br /&gt;
; Note: - It will only work if the FPM master process is launched as root&lt;br /&gt;
;       - The pool processes will inherit the master process priority&lt;br /&gt;
;         unless it specified otherwise&lt;br /&gt;
; Default Value: no set&lt;br /&gt;
; process.priority = -19&lt;br /&gt;
&lt;br /&gt;
; Choose how the process manager will control the number of child processes.&lt;br /&gt;
; Possible Values:&lt;br /&gt;
;   static  - a fixed number (pm.max_children) of child processes;&lt;br /&gt;
;   dynamic - the number of child processes are set dynamically based on the&lt;br /&gt;
;             following directives. With this process management, there will be&lt;br /&gt;
;             always at least 1 children.&lt;br /&gt;
;             pm.max_children      - the maximum number of children that can&lt;br /&gt;
;                                    be alive at the same time.&lt;br /&gt;
;             pm.start_servers     - the number of children created on startup.&lt;br /&gt;
;             pm.min_spare_servers - the minimum number of children in 'idle'&lt;br /&gt;
;                                    state (waiting to process). If the number&lt;br /&gt;
;                                    of 'idle' processes is less than this&lt;br /&gt;
;                                    number then some children will be created.&lt;br /&gt;
;             pm.max_spare_servers - the maximum number of children in 'idle'&lt;br /&gt;
;                                    state (waiting to process). If the number&lt;br /&gt;
;                                    of 'idle' processes is greater than this&lt;br /&gt;
;                                    number then some children will be killed.&lt;br /&gt;
;  ondemand - no children are created at startup. Children will be forked when&lt;br /&gt;
;             new requests will connect. The following parameter are used:&lt;br /&gt;
;             pm.max_children           - the maximum number of children that&lt;br /&gt;
;                                         can be alive at the same time.&lt;br /&gt;
;             pm.process_idle_timeout   - The number of seconds after which&lt;br /&gt;
;                                         an idle process will be killed.&lt;br /&gt;
; Note: This value is mandatory.&lt;br /&gt;
pm = dynamic&lt;br /&gt;
&lt;br /&gt;
; The number of child processes to be created when pm is set to 'static' and the&lt;br /&gt;
; maximum number of child processes when pm is set to 'dynamic' or 'ondemand'.&lt;br /&gt;
; This value sets the limit on the number of simultaneous requests that will be&lt;br /&gt;
; served. Equivalent to the ApacheMaxClients directive with mpm_prefork.&lt;br /&gt;
; Equivalent to the PHP_FCGI_CHILDREN environment variable in the original PHP&lt;br /&gt;
; CGI. The below defaults are based on a server without much resources. Don't&lt;br /&gt;
; forget to tweak pm.* to fit your needs.&lt;br /&gt;
; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand'&lt;br /&gt;
; Note: This value is mandatory.&lt;br /&gt;
pm.max_children = 10&lt;br /&gt;
&lt;br /&gt;
; The number of child processes created on startup.&lt;br /&gt;
; Note: Used only when pm is set to 'dynamic'&lt;br /&gt;
; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2&lt;br /&gt;
pm.start_servers = 2&lt;br /&gt;
&lt;br /&gt;
; The desired minimum number of idle server processes.&lt;br /&gt;
; Note: Used only when pm is set to 'dynamic'&lt;br /&gt;
; Note: Mandatory when pm is set to 'dynamic'&lt;br /&gt;
pm.min_spare_servers = 1&lt;br /&gt;
&lt;br /&gt;
; The desired maximum number of idle server processes.&lt;br /&gt;
; Note: Used only when pm is set to 'dynamic'&lt;br /&gt;
; Note: Mandatory when pm is set to 'dynamic'&lt;br /&gt;
pm.max_spare_servers = 3&lt;br /&gt;
&lt;br /&gt;
; The number of seconds after which an idle process will be killed.&lt;br /&gt;
; Note: Used only when pm is set to 'ondemand'&lt;br /&gt;
; Default Value: 10s&lt;br /&gt;
;pm.process_idle_timeout = 10s;&lt;br /&gt;
 &lt;br /&gt;
; The number of requests each child process should execute before respawning.&lt;br /&gt;
; This can be useful to work around memory leaks in 3rd party libraries. For&lt;br /&gt;
; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS.&lt;br /&gt;
; Default Value: 0&lt;br /&gt;
;pm.max_requests = 500&lt;br /&gt;
&lt;br /&gt;
; The URI to view the FPM status page. If this value is not set, no URI will be&lt;br /&gt;
; recognized as a status page. It shows the following informations:&lt;br /&gt;
;   pool                 - the name of the pool;&lt;br /&gt;
;   process manager      - static, dynamic or ondemand;&lt;br /&gt;
;   start time           - the date and time FPM has started;&lt;br /&gt;
;   start since          - number of seconds since FPM has started;&lt;br /&gt;
;   accepted conn        - the number of request accepted by the pool;&lt;br /&gt;
;   listen queue         - the number of request in the queue of pending&lt;br /&gt;
;                          connections (see backlog in listen(2));&lt;br /&gt;
;   max listen queue     - the maximum number of requests in the queue&lt;br /&gt;
;                          of pending connections since FPM has started;&lt;br /&gt;
;   listen queue len     - the size of the socket queue of pending connections;&lt;br /&gt;
;   idle processes       - the number of idle processes;&lt;br /&gt;
;   active processes     - the number of active processes;&lt;br /&gt;
;   total processes      - the number of idle + active processes;&lt;br /&gt;
;   max active processes - the maximum number of active processes since FPM&lt;br /&gt;
;                          has started;&lt;br /&gt;
;   max children reached - number of times, the process limit has been reached,&lt;br /&gt;
;                          when pm tries to start more children (works only for&lt;br /&gt;
;                          pm 'dynamic' and 'ondemand');&lt;br /&gt;
; Value are updated in real time.&lt;br /&gt;
; Example output:&lt;br /&gt;
;   pool:                 www&lt;br /&gt;
;   process manager:      static&lt;br /&gt;
;   start time:           01/Jul/2011:17:53:49 +0200&lt;br /&gt;
;   start since:          62636&lt;br /&gt;
;   accepted conn:        190460&lt;br /&gt;
;   listen queue:         0&lt;br /&gt;
;   max listen queue:     1&lt;br /&gt;
;   listen queue len:     42&lt;br /&gt;
;   idle processes:       4&lt;br /&gt;
;   active processes:     11&lt;br /&gt;
;   total processes:      15&lt;br /&gt;
;   max active processes: 12&lt;br /&gt;
;   max children reached: 0&lt;br /&gt;
;&lt;br /&gt;
; By default the status page output is formatted as text/plain. Passing either&lt;br /&gt;
; 'html', 'xml' or 'json' in the query string will return the corresponding&lt;br /&gt;
; output syntax. Example:&lt;br /&gt;
;   http://www.foo.bar/status&lt;br /&gt;
;   http://www.foo.bar/status?json&lt;br /&gt;
;   http://www.foo.bar/status?html&lt;br /&gt;
;   http://www.foo.bar/status?xml&lt;br /&gt;
;&lt;br /&gt;
; By default the status page only outputs short status. Passing 'full' in the&lt;br /&gt;
; query string will also return status for each pool process.&lt;br /&gt;
; Example: &lt;br /&gt;
;   http://www.foo.bar/status?full&lt;br /&gt;
;   http://www.foo.bar/status?json&amp;amp;full&lt;br /&gt;
;   http://www.foo.bar/status?html&amp;amp;full&lt;br /&gt;
;   http://www.foo.bar/status?xml&amp;amp;full&lt;br /&gt;
; The Full status returns for each process:&lt;br /&gt;
;   pid                  - the PID of the process;&lt;br /&gt;
;   state                - the state of the process (Idle, Running, ...);&lt;br /&gt;
;   start time           - the date and time the process has started;&lt;br /&gt;
;   start since          - the number of seconds since the process has started;&lt;br /&gt;
;   requests             - the number of requests the process has served;&lt;br /&gt;
;   request duration     - the duration in µs of the requests;&lt;br /&gt;
;   request method       - the request method (GET, POST, ...);&lt;br /&gt;
;   request URI          - the request URI with the query string;&lt;br /&gt;
;   content length       - the content length of the request (only with POST);&lt;br /&gt;
;   user                 - the user (PHP_AUTH_USER) (or '-' if not set);&lt;br /&gt;
;   script               - the main script called (or '-' if not set);&lt;br /&gt;
;   last request cpu     - the %cpu the last request consumed&lt;br /&gt;
;                          it's always 0 if the process is not in Idle state&lt;br /&gt;
;                          because CPU calculation is done when the request&lt;br /&gt;
;                          processing has terminated;&lt;br /&gt;
;   last request memory  - the max amount of memory the last request consumed&lt;br /&gt;
;                          it's always 0 if the process is not in Idle state&lt;br /&gt;
;                          because memory calculation is done when the request&lt;br /&gt;
;                          processing has terminated;&lt;br /&gt;
; If the process is in Idle state, then informations are related to the&lt;br /&gt;
; last request the process has served. Otherwise informations are related to&lt;br /&gt;
; the current request being served.&lt;br /&gt;
; Example output:&lt;br /&gt;
;   ************************&lt;br /&gt;
;   pid:                  31330&lt;br /&gt;
;   state:                Running&lt;br /&gt;
;   start time:           01/Jul/2011:17:53:49 +0200&lt;br /&gt;
;   start since:          63087&lt;br /&gt;
;   requests:             12808&lt;br /&gt;
;   request duration:     1250261&lt;br /&gt;
;   request method:       GET&lt;br /&gt;
;   request URI:          /test_mem.php?N=10000&lt;br /&gt;
;   content length:       0&lt;br /&gt;
;   user:                 -&lt;br /&gt;
;   script:               /home/fat/web/docs/php/test_mem.php&lt;br /&gt;
;   last request cpu:     0.00&lt;br /&gt;
;   last request memory:  0&lt;br /&gt;
;&lt;br /&gt;
; Note: There is a real-time FPM status monitoring sample web page available&lt;br /&gt;
;       It's available in: /opt/syncloud-owncloud/php/share/php/fpm/status.html&lt;br /&gt;
;&lt;br /&gt;
; Note: The value must start with a leading slash (/). The value can be&lt;br /&gt;
;       anything, but it may not be a good idea to use the .php extension or it&lt;br /&gt;
;       may conflict with a real PHP file.&lt;br /&gt;
; Default Value: not set &lt;br /&gt;
;pm.status_path = /status&lt;br /&gt;
 &lt;br /&gt;
; The ping URI to call the monitoring page of FPM. If this value is not set, no&lt;br /&gt;
; URI will be recognized as a ping page. This could be used to test from outside&lt;br /&gt;
; that FPM is alive and responding, or to&lt;br /&gt;
; - create a graph of FPM availability (rrd or such);&lt;br /&gt;
; - remove a server from a group if it is not responding (load balancing);&lt;br /&gt;
; - trigger alerts for the operating team (24/7).&lt;br /&gt;
; Note: The value must start with a leading slash (/). The value can be&lt;br /&gt;
;       anything, but it may not be a good idea to use the .php extension or it&lt;br /&gt;
;       may conflict with a real PHP file.&lt;br /&gt;
; Default Value: not set&lt;br /&gt;
;ping.path = /ping&lt;br /&gt;
&lt;br /&gt;
; This directive may be used to customize the response of a ping request. The&lt;br /&gt;
; response is formatted as text/plain with a 200 response code.&lt;br /&gt;
; Default Value: pong&lt;br /&gt;
;ping.response = pong&lt;br /&gt;
&lt;br /&gt;
; The access log file&lt;br /&gt;
; Default: not set&lt;br /&gt;
;access.log = log/$pool.access.log&lt;br /&gt;
&lt;br /&gt;
; The access log format.&lt;br /&gt;
; The following syntax is allowed&lt;br /&gt;
;  %%: the '%' character&lt;br /&gt;
;  %C: %CPU used by the request&lt;br /&gt;
;      it can accept the following format:&lt;br /&gt;
;      - %{user}C for user CPU only&lt;br /&gt;
;      - %{system}C for system CPU only&lt;br /&gt;
;      - %{total}C  for user + system CPU (default)&lt;br /&gt;
;  %d: time taken to serve the request&lt;br /&gt;
;      it can accept the following format:&lt;br /&gt;
;      - %{seconds}d (default)&lt;br /&gt;
;      - %{miliseconds}d&lt;br /&gt;
;      - %{mili}d&lt;br /&gt;
;      - %{microseconds}d&lt;br /&gt;
;      - %{micro}d&lt;br /&gt;
;  %e: an environment variable (same as $_ENV or $_SERVER)&lt;br /&gt;
;      it must be associated with embraces to specify the name of the env&lt;br /&gt;
;      variable. Some exemples:&lt;br /&gt;
;      - server specifics like: %{REQUEST_METHOD}e or %{SERVER_PROTOCOL}e&lt;br /&gt;
;      - HTTP headers like: %{HTTP_HOST}e or %{HTTP_USER_AGENT}e&lt;br /&gt;
;  %f: script filename&lt;br /&gt;
;  %l: content-length of the request (for POST request only)&lt;br /&gt;
;  %m: request method&lt;br /&gt;
;  %M: peak of memory allocated by PHP&lt;br /&gt;
;      it can accept the following format:&lt;br /&gt;
;      - %{bytes}M (default)&lt;br /&gt;
;      - %{kilobytes}M&lt;br /&gt;
;      - %{kilo}M&lt;br /&gt;
;      - %{megabytes}M&lt;br /&gt;
;      - %{mega}M&lt;br /&gt;
;  %n: pool name&lt;br /&gt;
;  %o: output header&lt;br /&gt;
;      it must be associated with embraces to specify the name of the header:&lt;br /&gt;
;      - %{Content-Type}o&lt;br /&gt;
;      - %{X-Powered-By}o&lt;br /&gt;
;      - %{Transfert-Encoding}o&lt;br /&gt;
;      - ....&lt;br /&gt;
;  %p: PID of the child that serviced the request&lt;br /&gt;
;  %P: PID of the parent of the child that serviced the request&lt;br /&gt;
;  %q: the query string &lt;br /&gt;
;  %Q: the '?' character if query string exists&lt;br /&gt;
;  %r: the request URI (without the query string, see %q and %Q)&lt;br /&gt;
;  %R: remote IP address&lt;br /&gt;
;  %s: status (response code)&lt;br /&gt;
;  %t: server time the request was received&lt;br /&gt;
;      it can accept a strftime(3) format:&lt;br /&gt;
;      %d/%b/%Y:%H:%M:%S %z (default)&lt;br /&gt;
;  %T: time the log has been written (the request has finished)&lt;br /&gt;
;      it can accept a strftime(3) format:&lt;br /&gt;
;      %d/%b/%Y:%H:%M:%S %z (default)&lt;br /&gt;
;  %u: remote user&lt;br /&gt;
;&lt;br /&gt;
; Default: &amp;quot;%R - %u %t \&amp;quot;%m %r\&amp;quot; %s&amp;quot;&lt;br /&gt;
;access.format = &amp;quot;%R - %u %t \&amp;quot;%m %r%Q%q\&amp;quot; %s %f %{mili}d %{kilo}M %C%%&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
; The log file for slow requests&lt;br /&gt;
; Default Value: not set&lt;br /&gt;
; Note: slowlog is mandatory if request_slowlog_timeout is set&lt;br /&gt;
;slowlog = log/$pool.log.slow&lt;br /&gt;
 &lt;br /&gt;
; The timeout for serving a single request after which a PHP backtrace will be&lt;br /&gt;
; dumped to the 'slowlog' file. A value of '0s' means 'off'.&lt;br /&gt;
; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)&lt;br /&gt;
; Default Value: 0&lt;br /&gt;
;request_slowlog_timeout = 0&lt;br /&gt;
 &lt;br /&gt;
; The timeout for serving a single request after which the worker process will&lt;br /&gt;
; be killed. This option should be used when the 'max_execution_time' ini option&lt;br /&gt;
; does not stop script execution for some reason. A value of '0' means 'off'.&lt;br /&gt;
; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)&lt;br /&gt;
; Default Value: 0&lt;br /&gt;
;request_terminate_timeout = 0&lt;br /&gt;
 &lt;br /&gt;
; Set open file descriptor rlimit.&lt;br /&gt;
; Default Value: system defined value&lt;br /&gt;
;rlimit_files = 1024&lt;br /&gt;
 &lt;br /&gt;
; Set max core size rlimit.&lt;br /&gt;
; Possible Values: 'unlimited' or an integer greater or equal to 0&lt;br /&gt;
; Default Value: system defined value&lt;br /&gt;
;rlimit_core = 0&lt;br /&gt;
 &lt;br /&gt;
; Chroot to this directory at the start. This value must be defined as an&lt;br /&gt;
; absolute path. When this value is not set, chroot is not used.&lt;br /&gt;
; Note: you can prefix with '$prefix' to chroot to the pool prefix or one&lt;br /&gt;
; of its subdirectories. If the pool prefix is not set, the global prefix&lt;br /&gt;
; will be used instead.&lt;br /&gt;
; Note: chrooting is a great security feature and should be used whenever &lt;br /&gt;
;       possible. However, all PHP paths will be relative to the chroot&lt;br /&gt;
;       (error_log, sessions.save_path, ...).&lt;br /&gt;
; Default Value: not set&lt;br /&gt;
;chroot = &lt;br /&gt;
 &lt;br /&gt;
; Chdir to this directory at the start.&lt;br /&gt;
; Note: relative path can be used.&lt;br /&gt;
; Default Value: current directory or / when chroot&lt;br /&gt;
;chdir = /var/www&lt;br /&gt;
 &lt;br /&gt;
; Redirect worker stdout and stderr into main error log. If not set, stdout and&lt;br /&gt;
; stderr will be redirected to /dev/null according to FastCGI specs.&lt;br /&gt;
; Note: on highloaded environement, this can cause some delay in the page&lt;br /&gt;
; process time (several ms).&lt;br /&gt;
; Default Value: no&lt;br /&gt;
;catch_workers_output = yes&lt;br /&gt;
&lt;br /&gt;
; Clear environment in FPM workers&lt;br /&gt;
; Prevents arbitrary environment variables from reaching FPM worker processes&lt;br /&gt;
; by clearing the environment in workers before env vars specified in this&lt;br /&gt;
; pool configuration are added.&lt;br /&gt;
; Setting to &amp;quot;no&amp;quot; will make all environment variables available to PHP code&lt;br /&gt;
; via getenv(), $_ENV and $_SERVER.&lt;br /&gt;
; Default Value: yes&lt;br /&gt;
;clear_env = no&lt;br /&gt;
&lt;br /&gt;
; Limits the extensions of the main script FPM will allow to parse. This can&lt;br /&gt;
; prevent configuration mistakes on the web server side. You should only limit&lt;br /&gt;
; FPM to .php extensions to prevent malicious users to use other extensions to&lt;br /&gt;
; exectute php code.&lt;br /&gt;
; Note: set an empty value to allow all extensions.&lt;br /&gt;
; Default Value: .php&lt;br /&gt;
;security.limit_extensions = .php .php3 .php4 .php5&lt;br /&gt;
 &lt;br /&gt;
; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from&lt;br /&gt;
; the current environment.&lt;br /&gt;
; Default Value: clean env&lt;br /&gt;
env[HOSTNAME] = $HOSTNAME&lt;br /&gt;
env[PATH] = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin&lt;br /&gt;
env[TMP] = /data/owncloud/tmp&lt;br /&gt;
env[TMPDIR] = /data/owncloud/tmp&lt;br /&gt;
env[TEMP] = /data/owncloud/tmp&lt;br /&gt;
&lt;br /&gt;
; Additional php.ini defines, specific to this pool of workers. These settings&lt;br /&gt;
; overwrite the values previously defined in the php.ini. The directives are the&lt;br /&gt;
; same as the PHP SAPI:&lt;br /&gt;
;   php_value/php_flag             - you can set classic ini defines which can&lt;br /&gt;
;                                    be overwritten from PHP call 'ini_set'. &lt;br /&gt;
;   php_admin_value/php_admin_flag - these directives won't be overwritten by&lt;br /&gt;
;                                     PHP call 'ini_set'&lt;br /&gt;
; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no.&lt;br /&gt;
&lt;br /&gt;
; Defining 'extension' will load the corresponding shared extension from&lt;br /&gt;
; extension_dir. Defining 'disable_functions' or 'disable_classes' will not&lt;br /&gt;
; overwrite previously defined php.ini values, but will append the new value&lt;br /&gt;
; instead.&lt;br /&gt;
&lt;br /&gt;
; Note: path INI options can be relative and will be expanded with the prefix&lt;br /&gt;
; (pool, global or /opt/syncloud-owncloud/php)&lt;br /&gt;
&lt;br /&gt;
; Default Value: nothing is defined by default except the values in php.ini and&lt;br /&gt;
;                specified at startup with the -d argument&lt;br /&gt;
;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com&lt;br /&gt;
;php_flag[display_errors] = off&lt;br /&gt;
php_admin_value[error_log] = /opt/data/owncloud/log/php-fpm.www.log&lt;br /&gt;
;php_admin_flag[log_errors] = on&lt;br /&gt;
;php_admin_value[memory_limit] = 32M&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sol</name></author>
	</entry>
</feed>