A free open source IT asset/license management system
Change PHP post_max_size
octobunny8324b94022f3
diff --git a/docker/startup.sh b/docker/startup.shindex 70dace2648..dcede3df66 100644--- a/docker/startup.sh+++ b/docker/startup.sh@@ -47,6 +47,7 @@ if [ -v "PHP_UPLOAD_LIMIT" ]thenecho "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.inifi# If the Oauth DB files are not present copy the vendor files over to the db migrations