Skip to content

Commit d34f8a3

Browse files
committed
Change the php-fpm include position to make it override previous settings
1 parent 8713623 commit d34f8a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

root-fs/etc/php/php-fpm.d/www2.conf

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[global]
22
pid = /run/php-fpm/php-fpm.pid
33
error_log = /config/log/php/error.log
4-
include = /config/php/php-fpm.d/*.conf
54

65
[www]
76
user =
@@ -35,3 +34,6 @@ pm.start_servers = 1
3534
pm.max_children = 10
3635
pm.min_spare_servers = 1
3736
pm.max_spare_servers = 1
37+
38+
; leave include as the last, otherwise it doen't override the above settings.
39+
include = /config/php/php-fpm.d/*.conf

0 commit comments

Comments
 (0)