php-fpm.conf 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550
  1. ;;;;;;;;;;;;;;;;;;;;;
  2. ; FPM Configuration ;
  3. ;;;;;;;;;;;;;;;;;;;;;
  4. ; All relative paths in this configuration file are relative to PHP's install
  5. ; prefix (/usr). This prefix can be dynamically changed by using the
  6. ; '-p' argument from the command line.
  7. ;;;;;;;;;;;;;;;;;;
  8. ; Global Options ;
  9. ;;;;;;;;;;;;;;;;;;
  10. [global]
  11. ; Pid file
  12. ; Note: the default prefix is /var
  13. ; Default Value: none
  14. pid = /run/php/php-fpm.pid
  15. ; Error log file
  16. ; If it's set to "syslog", log is sent to syslogd instead of being written
  17. ; into a local file.
  18. ; Note: the default prefix is /var
  19. ; Default Value: log/php-fpm.log
  20. error_log = /dev/stderr
  21. ; syslog_facility is used to specify what type of program is logging the
  22. ; message. This lets syslogd specify that messages from different facilities
  23. ; will be handled differently.
  24. ; See syslog(3) for possible values (ex daemon equiv LOG_DAEMON)
  25. ; Default Value: daemon
  26. ;syslog.facility = daemon
  27. ; syslog_ident is prepended to every message. If you have multiple FPM
  28. ; instances running on the same server, you can change the default value
  29. ; which must suit common needs.
  30. ; Default Value: php-fpm
  31. ;syslog.ident = php-fpm
  32. ; Log level
  33. ; Possible Values: alert, error, warning, notice, debug
  34. ; Default Value: notice
  35. ;log_level = notice
  36. ; If this number of child processes exit with SIGSEGV or SIGBUS within the time
  37. ; interval set by emergency_restart_interval then FPM will restart. A value
  38. ; of '0' means 'Off'.
  39. ; Default Value: 0
  40. ;emergency_restart_threshold = 0
  41. ; Interval of time used by emergency_restart_interval to determine when
  42. ; a graceful restart will be initiated. This can be useful to work around
  43. ; accidental corruptions in an accelerator's shared memory.
  44. ; Available Units: s(econds), m(inutes), h(ours), or d(ays)
  45. ; Default Unit: seconds
  46. ; Default Value: 0
  47. ;emergency_restart_interval = 0
  48. ; Time limit for child processes to wait for a reaction on signals from master.
  49. ; Available units: s(econds), m(inutes), h(ours), or d(ays)
  50. ; Default Unit: seconds
  51. ; Default Value: 0
  52. ;process_control_timeout = 0
  53. ; The maximum number of processes FPM will fork. This has been designed to control
  54. ; the global number of processes when using dynamic PM within a lot of pools.
  55. ; Use it with caution.
  56. ; Note: A value of 0 indicates no limit
  57. ; Default Value: 0
  58. ; process.max = 128
  59. ; Specify the nice(2) priority to apply to the master process (only if set)
  60. ; The value can vary from -19 (highest priority) to 20 (lowest priority)
  61. ; Note: - It will only work if the FPM master process is launched as root
  62. ; - The pool process will inherit the master process priority
  63. ; unless specified otherwise
  64. ; Default Value: no set
  65. ; process.priority = -19
  66. ; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging.
  67. ; Default Value: yes
  68. ;daemonize = yes
  69. ; Set open file descriptor rlimit for the master process.
  70. ; Default Value: system defined value
  71. ;rlimit_files = 1024
  72. ; Set max core size rlimit for the master process.
  73. ; Possible Values: 'unlimited' or an integer greater or equal to 0
  74. ; Default Value: system defined value
  75. ;rlimit_core = 0
  76. ; Specify the event mechanism FPM will use. The following is available:
  77. ; - select (any POSIX os)
  78. ; - poll (any POSIX os)
  79. ; - epoll (linux >= 2.5.44)
  80. ; - kqueue (FreeBSD >= 4.1, OpenBSD >= 2.9, NetBSD >= 2.0)
  81. ; - /dev/poll (Solaris >= 7)
  82. ; - port (Solaris >= 10)
  83. ; Default Value: not set (auto detection)
  84. ;events.mechanism = epoll
  85. ; When FPM is built with systemd integration, specify the interval,
  86. ; in seconds, between health report notification to systemd.
  87. ; Set to 0 to disable.
  88. ; Available Units: s(econds), m(inutes), h(ours)
  89. ; Default Unit: seconds
  90. ; Default value: 10
  91. systemd_interval = 0
  92. ;;;;;;;;;;;;;;;;;;;;
  93. ; Pool Definitions ;
  94. ;;;;;;;;;;;;;;;;;;;;
  95. ; Multiple pools of child processes may be started with different listening
  96. ; ports and different management options. The name of the pool will be
  97. ; used in logs and stats. There is no limitation on the number of pools which
  98. ; FPM can handle. Your system will tell you anyway :)
  99. ; Include one or more files. If glob(3) exists, it is used to include a bunch of
  100. ; files from a glob(3) pattern. This directive can be used everywhere in the
  101. ; file.
  102. ; Relative path can also be used. They will be prefixed by:
  103. ; - the global prefix if it's been set (-p argument)
  104. ; - /usr otherwise
  105. ;include=/etc/php/7.4/fpm/pool.d/*.conf
  106. ; Start a new pool named 'www'.
  107. ; the variable $pool can be used in any directive and will be replaced by the
  108. ; pool name ('www' here)
  109. [www]
  110. ; Per pool prefix
  111. ; It only applies on the following directives:
  112. ; - 'access.log'
  113. ; - 'slowlog'
  114. ; - 'listen' (unixsocket)
  115. ; - 'chroot'
  116. ; - 'chdir'
  117. ; - 'php_values'
  118. ; - 'php_admin_values'
  119. ; When not set, the global prefix (or /usr) applies instead.
  120. ; Note: This directive can also be relative to the global prefix.
  121. ; Default Value: none
  122. ;prefix = /path/to/pools/$pool
  123. ; Unix user/group of processes
  124. ; Note: The user is mandatory. If the group is not set, the default user's group
  125. ; will be used.
  126. user = www-data
  127. group = www-data
  128. ; The address on which to accept FastCGI requests.
  129. ; Valid syntaxes are:
  130. ; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific IPv4 address on
  131. ; a specific port;
  132. ; '[ip:6:addr:ess]:port' - to listen on a TCP socket to a specific IPv6 address on
  133. ; a specific port;
  134. ; 'port' - to listen on a TCP socket to all addresses
  135. ; (IPv6 and IPv4-mapped) on a specific port;
  136. ; '/path/to/unix/socket' - to listen on a unix socket.
  137. ; Note: This value is mandatory.
  138. listen = /run/php/php-fpm.sock
  139. ; Set listen(2) backlog.
  140. ; Default Value: 511 (-1 on FreeBSD and OpenBSD)
  141. listen.backlog = 65535
  142. ; Set permissions for unix socket, if one is used. In Linux, read/write
  143. ; permissions must be set in order to allow connections from a web server. Many
  144. ; BSD-derived systems allow connections regardless of permissions.
  145. ; Default Values: user and group are set as the running user
  146. ; mode is set to 0660
  147. listen.owner = www-data
  148. listen.group = www-data
  149. ;listen.mode = 0660
  150. ; When POSIX Access Control Lists are supported you can set them using
  151. ; these options, value is a comma separated list of user/group names.
  152. ; When set, listen.owner and listen.group are ignored
  153. ;listen.acl_users =
  154. ;listen.acl_groups =
  155. ; List of addresses (IPv4/IPv6) of FastCGI clients which are allowed to connect.
  156. ; Equivalent to the FCGI_WEB_SERVER_ADDRS environment variable in the original
  157. ; PHP FCGI (5.2.2+). Makes sense only with a tcp listening socket. Each address
  158. ; must be separated by a comma. If this value is left blank, connections will be
  159. ; accepted from any ip address.
  160. ; Default Value: any
  161. ;listen.allowed_clients = 127.0.0.1
  162. ; Specify the nice(2) priority to apply to the pool processes (only if set)
  163. ; The value can vary from -19 (highest priority) to 20 (lower priority)
  164. ; Note: - It will only work if the FPM master process is launched as root
  165. ; - The pool processes will inherit the master process priority
  166. ; unless it specified otherwise
  167. ; Default Value: no set
  168. ; process.priority = -19
  169. ; Set the process dumpable flag (PR_SET_DUMPABLE prctl) even if the process user
  170. ; or group is differrent than the master process user. It allows to create process
  171. ; core dump and ptrace the process for the pool user.
  172. ; Default Value: no
  173. ; process.dumpable = yes
  174. ; Choose how the process manager will control the number of child processes.
  175. ; Possible Values:
  176. ; static - a fixed number (pm.max_children) of child processes;
  177. ; dynamic - the number of child processes are set dynamically based on the
  178. ; following directives. With this process management, there will be
  179. ; always at least 1 children.
  180. ; pm.max_children - the maximum number of children that can
  181. ; be alive at the same time.
  182. ; pm.start_servers - the number of children created on startup.
  183. ; pm.min_spare_servers - the minimum number of children in 'idle'
  184. ; state (waiting to process). If the number
  185. ; of 'idle' processes is less than this
  186. ; number then some children will be created.
  187. ; pm.max_spare_servers - the maximum number of children in 'idle'
  188. ; state (waiting to process). If the number
  189. ; of 'idle' processes is greater than this
  190. ; number then some children will be killed.
  191. ; ondemand - no children are created at startup. Children will be forked when
  192. ; new requests will connect. The following parameter are used:
  193. ; pm.max_children - the maximum number of children that
  194. ; can be alive at the same time.
  195. ; pm.process_idle_timeout - The number of seconds after which
  196. ; an idle process will be killed.
  197. ; Note: This value is mandatory.
  198. pm = static
  199. ; The number of child processes to be created when pm is set to 'static' and the
  200. ; maximum number of child processes when pm is set to 'dynamic' or 'ondemand'.
  201. ; This value sets the limit on the number of simultaneous requests that will be
  202. ; served. Equivalent to the ApacheMaxClients directive with mpm_prefork.
  203. ; Equivalent to the PHP_FCGI_CHILDREN environment variable in the original PHP
  204. ; CGI. The below defaults are based on a server without much resources. Don't
  205. ; forget to tweak pm.* to fit your needs.
  206. ; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand'
  207. ; Note: This value is mandatory.
  208. pm.max_children = 1024
  209. ; The number of child processes created on startup.
  210. ; Note: Used only when pm is set to 'dynamic'
  211. ; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2
  212. pm.start_servers = 512
  213. ; The desired minimum number of idle server processes.
  214. ; Note: Used only when pm is set to 'dynamic'
  215. ; Note: Mandatory when pm is set to 'dynamic'
  216. pm.min_spare_servers = 50
  217. ; The desired maximum number of idle server processes.
  218. ; Note: Used only when pm is set to 'dynamic'
  219. ; Note: Mandatory when pm is set to 'dynamic'
  220. pm.max_spare_servers = 512
  221. ; The number of seconds after which an idle process will be killed.
  222. ; Note: Used only when pm is set to 'ondemand'
  223. ; Default Value: 10s
  224. ;pm.process_idle_timeout = 10s;
  225. ; The number of requests each child process should execute before respawning.
  226. ; This can be useful to work around memory leaks in 3rd party libraries. For
  227. ; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS.
  228. ; Default Value: 0
  229. ;pm.max_requests = 500
  230. ; The URI to view the FPM status page. If this value is not set, no URI will be
  231. ; recognized as a status page. It shows the following informations:
  232. ; pool - the name of the pool;
  233. ; process manager - static, dynamic or ondemand;
  234. ; start time - the date and time FPM has started;
  235. ; start since - number of seconds since FPM has started;
  236. ; accepted conn - the number of request accepted by the pool;
  237. ; listen queue - the number of request in the queue of pending
  238. ; connections (see backlog in listen(2));
  239. ; max listen queue - the maximum number of requests in the queue
  240. ; of pending connections since FPM has started;
  241. ; listen queue len - the size of the socket queue of pending connections;
  242. ; idle processes - the number of idle processes;
  243. ; active processes - the number of active processes;
  244. ; total processes - the number of idle + active processes;
  245. ; max active processes - the maximum number of active processes since FPM
  246. ; has started;
  247. ; max children reached - number of times, the process limit has been reached,
  248. ; when pm tries to start more children (works only for
  249. ; pm 'dynamic' and 'ondemand');
  250. ; Value are updated in real time.
  251. ; Example output:
  252. ; pool: www
  253. ; process manager: static
  254. ; start time: 01/Jul/2011:17:53:49 +0200
  255. ; start since: 62636
  256. ; accepted conn: 190460
  257. ; listen queue: 0
  258. ; max listen queue: 1
  259. ; listen queue len: 42
  260. ; idle processes: 4
  261. ; active processes: 11
  262. ; total processes: 15
  263. ; max active processes: 12
  264. ; max children reached: 0
  265. ;
  266. ; By default the status page output is formatted as text/plain. Passing either
  267. ; 'html', 'xml' or 'json' in the query string will return the corresponding
  268. ; output syntax. Example:
  269. ; http://www.foo.bar/status
  270. ; http://www.foo.bar/status?json
  271. ; http://www.foo.bar/status?html
  272. ; http://www.foo.bar/status?xml
  273. ;
  274. ; By default the status page only outputs short status. Passing 'full' in the
  275. ; query string will also return status for each pool process.
  276. ; Example:
  277. ; http://www.foo.bar/status?full
  278. ; http://www.foo.bar/status?json&full
  279. ; http://www.foo.bar/status?html&full
  280. ; http://www.foo.bar/status?xml&full
  281. ; The Full status returns for each process:
  282. ; pid - the PID of the process;
  283. ; state - the state of the process (Idle, Running, ...);
  284. ; start time - the date and time the process has started;
  285. ; start since - the number of seconds since the process has started;
  286. ; requests - the number of requests the process has served;
  287. ; request duration - the duration in µs of the requests;
  288. ; request method - the request method (GET, POST, ...);
  289. ; request URI - the request URI with the query string;
  290. ; content length - the content length of the request (only with POST);
  291. ; user - the user (PHP_AUTH_USER) (or '-' if not set);
  292. ; script - the main script called (or '-' if not set);
  293. ; last request cpu - the %cpu the last request consumed
  294. ; it's always 0 if the process is not in Idle state
  295. ; because CPU calculation is done when the request
  296. ; processing has terminated;
  297. ; last request memory - the max amount of memory the last request consumed
  298. ; it's always 0 if the process is not in Idle state
  299. ; because memory calculation is done when the request
  300. ; processing has terminated;
  301. ; If the process is in Idle state, then informations are related to the
  302. ; last request the process has served. Otherwise informations are related to
  303. ; the current request being served.
  304. ; Example output:
  305. ; ************************
  306. ; pid: 31330
  307. ; state: Running
  308. ; start time: 01/Jul/2011:17:53:49 +0200
  309. ; start since: 63087
  310. ; requests: 12808
  311. ; request duration: 1250261
  312. ; request method: GET
  313. ; request URI: /test_mem.php?N=10000
  314. ; content length: 0
  315. ; user: -
  316. ; script: /home/fat/web/docs/php/test_mem.php
  317. ; last request cpu: 0.00
  318. ; last request memory: 0
  319. ;
  320. ; Note: There is a real-time FPM status monitoring sample web page available
  321. ; It's available in: /usr/share/php/7.4/fpm/status.html
  322. ;
  323. ; Note: The value must start with a leading slash (/). The value can be
  324. ; anything, but it may not be a good idea to use the .php extension or it
  325. ; may conflict with a real PHP file.
  326. ; Default Value: not set
  327. ;pm.status_path = /status
  328. ; The ping URI to call the monitoring page of FPM. If this value is not set, no
  329. ; URI will be recognized as a ping page. This could be used to test from outside
  330. ; that FPM is alive and responding, or to
  331. ; - create a graph of FPM availability (rrd or such);
  332. ; - remove a server from a group if it is not responding (load balancing);
  333. ; - trigger alerts for the operating team (24/7).
  334. ; Note: The value must start with a leading slash (/). The value can be
  335. ; anything, but it may not be a good idea to use the .php extension or it
  336. ; may conflict with a real PHP file.
  337. ; Default Value: not set
  338. ;ping.path = /ping
  339. ; This directive may be used to customize the response of a ping request. The
  340. ; response is formatted as text/plain with a 200 response code.
  341. ; Default Value: pong
  342. ;ping.response = pong
  343. ; The access log file
  344. ; Default: not set
  345. ;access.log = log/$pool.access.log
  346. ; The access log format.
  347. ; The following syntax is allowed
  348. ; %%: the '%' character
  349. ; %C: %CPU used by the request
  350. ; it can accept the following format:
  351. ; - %{user}C for user CPU only
  352. ; - %{system}C for system CPU only
  353. ; - %{total}C for user + system CPU (default)
  354. ; %d: time taken to serve the request
  355. ; it can accept the following format:
  356. ; - %{seconds}d (default)
  357. ; - %{miliseconds}d
  358. ; - %{mili}d
  359. ; - %{microseconds}d
  360. ; - %{micro}d
  361. ; %e: an environment variable (same as $_ENV or $_SERVER)
  362. ; it must be associated with embraces to specify the name of the env
  363. ; variable. Some exemples:
  364. ; - server specifics like: %{REQUEST_METHOD}e or %{SERVER_PROTOCOL}e
  365. ; - HTTP headers like: %{HTTP_HOST}e or %{HTTP_USER_AGENT}e
  366. ; %f: script filename
  367. ; %l: content-length of the request (for POST request only)
  368. ; %m: request method
  369. ; %M: peak of memory allocated by PHP
  370. ; it can accept the following format:
  371. ; - %{bytes}M (default)
  372. ; - %{kilobytes}M
  373. ; - %{kilo}M
  374. ; - %{megabytes}M
  375. ; - %{mega}M
  376. ; %n: pool name
  377. ; %o: output header
  378. ; it must be associated with embraces to specify the name of the header:
  379. ; - %{Content-Type}o
  380. ; - %{X-Powered-By}o
  381. ; - %{Transfert-Encoding}o
  382. ; - ....
  383. ; %p: PID of the child that serviced the request
  384. ; %P: PID of the parent of the child that serviced the request
  385. ; %q: the query string
  386. ; %Q: the '?' character if query string exists
  387. ; %r: the request URI (without the query string, see %q and %Q)
  388. ; %R: remote IP address
  389. ; %s: status (response code)
  390. ; %t: server time the request was received
  391. ; it can accept a strftime(3) format:
  392. ; %d/%b/%Y:%H:%M:%S %z (default)
  393. ; The strftime(3) format must be encapsuled in a %{<strftime_format>}t tag
  394. ; e.g. for a ISO8601 formatted timestring, use: %{%Y-%m-%dT%H:%M:%S%z}t
  395. ; %T: time the log has been written (the request has finished)
  396. ; it can accept a strftime(3) format:
  397. ; %d/%b/%Y:%H:%M:%S %z (default)
  398. ; The strftime(3) format must be encapsuled in a %{<strftime_format>}t tag
  399. ; e.g. for a ISO8601 formatted timestring, use: %{%Y-%m-%dT%H:%M:%S%z}t
  400. ; %u: remote user
  401. ;
  402. ; Default: "%R - %u %t \"%m %r\" %s"
  403. ;access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{mili}d %{kilo}M %C%%"
  404. ; The log file for slow requests
  405. ; Default Value: not set
  406. ; Note: slowlog is mandatory if request_slowlog_timeout is set
  407. ;slowlog = log/$pool.log.slow
  408. ; The timeout for serving a single request after which a PHP backtrace will be
  409. ; dumped to the 'slowlog' file. A value of '0s' means 'off'.
  410. ; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
  411. ; Default Value: 0
  412. ;request_slowlog_timeout = 0
  413. ; Depth of slow log stack trace.
  414. ; Default Value: 20
  415. ;request_slowlog_trace_depth = 20
  416. ; The timeout for serving a single request after which the worker process will
  417. ; be killed. This option should be used when the 'max_execution_time' ini option
  418. ; does not stop script execution for some reason. A value of '0' means 'off'.
  419. ; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
  420. ; Default Value: 0
  421. ;request_terminate_timeout = 0
  422. ; Set open file descriptor rlimit.
  423. ; Default Value: system defined value
  424. ;rlimit_files = 1024
  425. ; Set max core size rlimit.
  426. ; Possible Values: 'unlimited' or an integer greater or equal to 0
  427. ; Default Value: system defined value
  428. ;rlimit_core = 0
  429. ; Chroot to this directory at the start. This value must be defined as an
  430. ; absolute path. When this value is not set, chroot is not used.
  431. ; Note: you can prefix with '$prefix' to chroot to the pool prefix or one
  432. ; of its subdirectories. If the pool prefix is not set, the global prefix
  433. ; will be used instead.
  434. ; Note: chrooting is a great security feature and should be used whenever
  435. ; possible. However, all PHP paths will be relative to the chroot
  436. ; (error_log, sessions.save_path, ...).
  437. ; Default Value: not set
  438. ;chroot =
  439. ; Chdir to this directory at the start.
  440. ; Note: relative path can be used.
  441. ; Default Value: current directory or / when chroot
  442. ;chdir = /var/www
  443. ; Redirect worker stdout and stderr into main error log. If not set, stdout and
  444. ; stderr will be redirected to /dev/null according to FastCGI specs.
  445. ; Note: on highloaded environement, this can cause some delay in the page
  446. ; process time (several ms).
  447. ; Default Value: no
  448. ;catch_workers_output = yes
  449. ; Clear environment in FPM workers
  450. ; Prevents arbitrary environment variables from reaching FPM worker processes
  451. ; by clearing the environment in workers before env vars specified in this
  452. ; pool configuration are added.
  453. ; Setting to "no" will make all environment variables available to PHP code
  454. ; via getenv(), $_ENV and $_SERVER.
  455. ; Default Value: yes
  456. ;clear_env = no
  457. ; Limits the extensions of the main script FPM will allow to parse. This can
  458. ; prevent configuration mistakes on the web server side. You should only limit
  459. ; FPM to .php extensions to prevent malicious users to use other extensions to
  460. ; execute php code.
  461. ; Note: set an empty value to allow all extensions.
  462. ; Default Value: .php
  463. ;security.limit_extensions = .php .php3 .php4 .php5 .php7
  464. ; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from
  465. ; the current environment.
  466. ; Default Value: clean env
  467. ;env[HOSTNAME] = $HOSTNAME
  468. ;env[PATH] = /usr/local/bin:/usr/bin:/bin
  469. ;env[TMP] = /tmp
  470. ;env[TMPDIR] = /tmp
  471. ;env[TEMP] = /tmp
  472. ; Additional php.ini defines, specific to this pool of workers. These settings
  473. ; overwrite the values previously defined in the php.ini. The directives are the
  474. ; same as the PHP SAPI:
  475. ; php_value/php_flag - you can set classic ini defines which can
  476. ; be overwritten from PHP call 'ini_set'.
  477. ; php_admin_value/php_admin_flag - these directives won't be overwritten by
  478. ; PHP call 'ini_set'
  479. ; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no.
  480. ; Defining 'extension' will load the corresponding shared extension from
  481. ; extension_dir. Defining 'disable_functions' or 'disable_classes' will not
  482. ; overwrite previously defined php.ini values, but will append the new value
  483. ; instead.
  484. ; Note: path INI options can be relative and will be expanded with the prefix
  485. ; (pool, global or /usr)
  486. ; Default Value: nothing is defined by default except the values in php.ini and
  487. ; specified at startup with the -d argument
  488. ;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f [email protected]
  489. ;php_flag[display_errors] = off
  490. ;php_admin_value[error_log] = /var/log/fpm-php.www.log
  491. ;php_admin_flag[log_errors] = on
  492. ;php_admin_value[memory_limit] = 32M