forked from habibiefaried/High-Performance-Web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
php-fpm.conf
59 lines (56 loc) · 1.23 KB
/
php-fpm.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
include = /etc/php5/fpm.d/*.conf
[global]
error_log = /var/log/php-fpm.log
log_level = notice
daemonize = no
[www]
user = phpfpm
group = phpfpm
listen = 127.0.0.1:9000
listen.owner = phpfpm
listen.group = phpfpm
listen.mode = 0750
pm = dynamic
pm.max_children = 440
pm.start_servers = 15
pm.min_spare_servers = 5
pm.max_spare_servers = 30
pm.max_requests = 200
catch_workers_output = yes
pm.max_requests = 200
php_admin_value[error_log] = /var/log/php-fpm.log
php_admin_flag[log_errors] = on
[www2]
user = phpfpm
group = phpfpm
listen = 127.0.0.1:9001
listen.owner = phpfpm
listen.group = phpfpm
listen.mode = 0750
pm = dynamic
pm.max_children = 440
pm.start_servers = 15
pm.min_spare_servers = 5
pm.max_spare_servers = 30
pm.max_requests = 200
catch_workers_output = yes
pm.max_requests = 200
php_admin_value[error_log] = /var/log/php-fpm.log
php_admin_flag[log_errors] = on
[www3]
user = phpfpm
group = phpfpm
listen = 127.0.0.1:9002
listen.owner = phpfpm
listen.group = phpfpm
listen.mode = 0750
pm = dynamic
pm.max_children = 440
pm.start_servers = 15
pm.min_spare_servers = 5
pm.max_spare_servers = 30
pm.max_requests = 200
catch_workers_output = yes
pm.max_requests = 200
php_admin_value[error_log] = /var/log/php-fpm.log
php_admin_flag[log_errors] = on