www.conf 23 KB

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