From 125be7cb68baee1e871f091f2990ff85eb8a4bac Mon Sep 17 00:00:00 2001 From: Chris Marslender Date: Thu, 26 Oct 2023 16:57:50 -0500 Subject: [PATCH 1/2] Update some php.ini settings --- phpfpm/php.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phpfpm/php.ini b/phpfpm/php.ini index 54f29d7..3742894 100644 --- a/phpfpm/php.ini +++ b/phpfpm/php.ini @@ -1,6 +1,10 @@ [PHP] post_max_size = 100M upload_max_filesize = 100M +short_open_tag = Off +expose_php = Off +memory_limit = 256M +max_input_vars = 5000 variables_order = EGPCS display_errors = Off log_errors = On From db2b1f29dd0ed8e885b1ae57166cb1d89cf180b9 Mon Sep 17 00:00:00 2001 From: Chris Marslender Date: Thu, 26 Oct 2023 16:59:56 -0500 Subject: [PATCH 2/2] PM to static --- phpfpm/zz-docker.conf | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/phpfpm/zz-docker.conf b/phpfpm/zz-docker.conf index dcf21a0..6cedc6f 100644 --- a/phpfpm/zz-docker.conf +++ b/phpfpm/zz-docker.conf @@ -7,7 +7,6 @@ listen.owner = www-data listen.group = www-data listen.mode = 0660 -pm.max_children = 15 -pm.start_servers = 5 -pm.min_spare_servers = 2 -pm.max_spare_servers = 5 +pm = static +pm.max_children = 10 +pm.max_requests = 1000