<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=User%3AWoozle%2Fnginx%2Fetc%2Fphp5%2Ffpm%2Fphp-fpm.conf</id>
	<title>User:Woozle/nginx/etc/php5/fpm/php-fpm.conf - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=User%3AWoozle%2Fnginx%2Fetc%2Fphp5%2Ffpm%2Fphp-fpm.conf"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=User:Woozle/nginx/etc/php5/fpm/php-fpm.conf&amp;action=history"/>
	<updated>2026-07-05T06:08:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://htyp.org/mw/index.php?title=User:Woozle/nginx/etc/php5/fpm/php-fpm.conf&amp;diff=18678&amp;oldid=prev</id>
		<title>Woozle: Created page with &quot;==Notes== This file mostly does not need to be edited. The only reason I edited it at all was because I wanted the log file in a more sensible place. ==Contents== &lt;pre&gt; ;;;;;;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=User:Woozle/nginx/etc/php5/fpm/php-fpm.conf&amp;diff=18678&amp;oldid=prev"/>
		<updated>2012-06-24T19:53:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Notes== This file mostly does not need to be edited. The only reason I edited it at all was because I wanted the log file in a more sensible place. ==Contents== &amp;lt;pre&amp;gt; ;;;;;;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Notes==&lt;br /&gt;
This file mostly does not need to be edited. The only reason I edited it at all was because I wanted the log file in a more sensible place.&lt;br /&gt;
==Contents==&lt;br /&gt;
&amp;lt;pre&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&amp;#039;s install&lt;br /&gt;
; prefix (/usr). This prefix can be dynamicaly changed by using the&lt;br /&gt;
; &amp;#039;-p&amp;#039; 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&amp;#039;s been set (-p arguement)&lt;br /&gt;
;  - /usr otherwise&lt;br /&gt;
;include=/etc/php5/fpm/*.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 /var&lt;br /&gt;
; Default Value: none&lt;br /&gt;
;pid = run/php-fpm.pid&lt;br /&gt;
pid = /var/run/php5-fpm.pid&lt;br /&gt;
&lt;br /&gt;
; Error log file&lt;br /&gt;
; If it&amp;#039;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 /var&lt;br /&gt;
; Default Value: log/php-fpm.log&lt;br /&gt;
;error_log = log/php-fpm.log&lt;br /&gt;
error_log = /var/log/php5-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;
;log_level = debug&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 &amp;#039;0&amp;#039; means &amp;#039;Off&amp;#039;.&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&amp;#039;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;
; Send FPM to background. Set to &amp;#039;no&amp;#039; 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: &amp;#039;unlimited&amp;#039; 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;
;;;;;;;;;;;;;;;;;;;;&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;
; To configure the pools it is recommended to have one .conf file per&lt;br /&gt;
; pool in the following directory:&lt;br /&gt;
include=/etc/php5/fpm/pool.d/*.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
</feed>