2023-01-11 01:03:34 +01:00
|
|
|
;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
; FPM Configuration ;
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
[global]
|
|
|
|
error_log = log/php-fpm.log
|
|
|
|
;;;;;;;;;;;;;;;;;;;;
|
|
|
|
; Pool Definitions ;
|
|
|
|
;;;;;;;;;;;;;;;;;;;;
|
|
|
|
include=/etc/php-fpm.d/*.conf
|
|
|
|
[www]
|
|
|
|
user = www
|
|
|
|
group = www
|
|
|
|
listen = /var/www/run/php-fpm.sock
|
|
|
|
listen.owner = www
|
|
|
|
listen.group = www
|
|
|
|
listen.mode = 0660
|
|
|
|
pm = dynamic
|
2023-05-15 23:16:25 +02:00
|
|
|
pm.max_children = 10
|
|
|
|
pm.start_servers = 4
|
2023-01-11 01:03:34 +01:00
|
|
|
pm.min_spare_servers = 1
|
2023-05-15 23:16:25 +02:00
|
|
|
pm.max_spare_servers = 6
|
2023-01-11 01:03:34 +01:00
|
|
|
chroot = /var/www
|
|
|
|
env[HOSTNAME] = $HOSTNAME
|
|
|
|
env[PATH] = /usr/local/bin:/usr/bin:/bin
|
|
|
|
env[TMP] = /tmp
|
|
|
|
env[TMPDIR] = /tmp
|
|
|
|
env[TEMP] = /tmp
|
|
|
|
|
|
|
|
|