From 8324b94022f344e3faa51e2699eee8302b89145a Mon Sep 17 00:00:00 2001 From: octobunny <55462380+octobunny@users.noreply.github.com> Date: Thu, 11 Aug 2022 17:07:46 -0400 Subject: [PATCH] Change PHP post_max_size Must change post_max_size in addition to upload_max_filesize to increase total upload size to greater than 8MB. --- docker/startup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/startup.sh b/docker/startup.sh index 70dace264..dcede3df6 100644 --- a/docker/startup.sh +++ b/docker/startup.sh @@ -47,6 +47,7 @@ if [ -v "PHP_UPLOAD_LIMIT" ] then echo "Changing upload limit to ${PHP_UPLOAD_LIMIT}" sed -i "s/^upload_max_filesize.*/upload_max_filesize = ${PHP_UPLOAD_LIMIT}M/" /etc/php/*/apache2/php.ini + sed -i "s/^post_max_size.*/post_max_size = ${PHP_UPLOAD_LIMIT}M/" /etc/php/*/apache2/php.ini fi # If the Oauth DB files are not present copy the vendor files over to the db migrations