bundles/php: add php8.2
This commit is contained in:
parent
a838f6c5bd
commit
97afd6c522
2 changed files with 126 additions and 0 deletions
27
bundles/php/files/8.2/fpm.conf
Normal file
27
bundles/php/files/8.2/fpm.conf
Normal file
|
@ -0,0 +1,27 @@
|
|||
[global]
|
||||
pid=/run/php/php8.0-fpm.pid
|
||||
; We're using journal, put logs there
|
||||
error_log=/var/log/php8.0-fpm.log
|
||||
daemonize=yes
|
||||
|
||||
; The one and only worker pool we have
|
||||
[www]
|
||||
user=www-data
|
||||
group=www-data
|
||||
listen=/run/php/php8.2-fpm.sock
|
||||
listen.owner=www-data
|
||||
listen.group=www-data
|
||||
listen.mode=0600
|
||||
|
||||
; Process Manager Settings
|
||||
pm=dynamic
|
||||
pm.max_children=${num_cpus*4}
|
||||
pm.start_servers=${num_cpus}
|
||||
pm.max_spare_servers=${num_cpus*2}
|
||||
pm.min_spare_servers=${num_cpus}
|
||||
pm.process_idle_timeout=30s
|
||||
pm.max_requests=1024
|
||||
|
||||
% if not clear_env:
|
||||
clear_env=no
|
||||
% endif
|
Loading…
Add table
Add a link
Reference in a new issue