30 lines
560 B
Plaintext
30 lines
560 B
Plaintext
|
;;;;;;;;;;;;;;;;;;;;;
|
||
|
; 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
|
||
|
pm.max_children = 5
|
||
|
pm.start_servers = 2
|
||
|
pm.min_spare_servers = 1
|
||
|
pm.max_spare_servers = 3
|
||
|
chroot = /var/www
|
||
|
env[HOSTNAME] = $HOSTNAME
|
||
|
env[PATH] = /usr/local/bin:/usr/bin:/bin
|
||
|
env[TMP] = /tmp
|
||
|
env[TMPDIR] = /tmp
|
||
|
env[TEMP] = /tmp
|
||
|
|
||
|
|