From 7fbed6de0228beaaffcba401c0147c355acc7b08 Mon Sep 17 00:00:00 2001 From: Peter Lieverdink Date: Fri, 20 Dec 2024 16:05:39 +1100 Subject: [PATCH 1/2] fix: Set the same file and post size limits for CLI (drush) as FPM. So that the same size files cna be uploaded via drush, instead of only teeny ones. Refs: OPS-11226 --- php/base/php82/etc/php82/php.ini | 4 ++-- php/base/php83/etc/php83/php.ini | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/php/base/php82/etc/php82/php.ini b/php/base/php82/etc/php82/php.ini index 7a41d63..86492a6 100644 --- a/php/base/php82/etc/php82/php.ini +++ b/php/base/php82/etc/php82/php.ini @@ -695,7 +695,7 @@ auto_globals_jit = On ; Its value may be 0 to disable the limit. It is ignored if POST data reading ; is disabled through enable_post_data_reading. ; https://php.net/post-max-size -post_max_size = 8M +post_max_size = ${PHP_POST_MAX_SIZE} ; Automatically add files before PHP document. ; https://php.net/auto-prepend-file @@ -847,7 +847,7 @@ file_uploads = On ; Maximum allowed size for uploaded files. ; https://php.net/upload-max-filesize -upload_max_filesize = 2M +upload_max_filesize = ${PHP_UPLOAD_MAX_FILESIZE} ; Maximum number of files that can be uploaded via a single request max_file_uploads = 20 diff --git a/php/base/php83/etc/php83/php.ini b/php/base/php83/etc/php83/php.ini index 7d4c740..31faa1e 100644 --- a/php/base/php83/etc/php83/php.ini +++ b/php/base/php83/etc/php83/php.ini @@ -695,7 +695,7 @@ auto_globals_jit = On ; Its value may be 0 to disable the limit. It is ignored if POST data reading ; is disabled through enable_post_data_reading. ; https://php.net/post-max-size -post_max_size = 8M +post_max_size = ${PHP_POST_MAX_SIZE} ; Automatically add files before PHP document. ; https://php.net/auto-prepend-file @@ -847,7 +847,7 @@ file_uploads = On ; Maximum allowed size for uploaded files. ; https://php.net/upload-max-filesize -upload_max_filesize = 2M +upload_max_filesize = ${PHP_UPLOAD_MAX_FILESIZE} ; Maximum number of files that can be uploaded via a single request max_file_uploads = 20 From f908d405419ad42b81b95670db57a93ed9d3bb89 Mon Sep 17 00:00:00 2001 From: Peter Lieverdink Date: Fri, 20 Dec 2024 16:06:10 +1100 Subject: [PATCH 2/2] chore: Version string bump! --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 965a757..4a7c655 100644 --- a/build.sh +++ b/build.sh @@ -4,10 +4,10 @@ BASE=lol SEVEN=0 EIGHT=0 -EIGHTONE=1 +EIGHTONE=0 EIGHTTWO=1 EIGHTTHREE=1 -EIGHTFOUR=1 +EIGHTFOUR=0 BASE7=3.15-202203-01 @@ -24,7 +24,7 @@ VERSION82=8.2.26-r0 VERSION83=8.3.14-r0 VERSION84=8.4.1-r0 -EXTRAVERSION=-202411-01 +EXTRAVERSION=-202412-01 STABILITY=stable REGISTRY=public.ecr.aws/unocha