From 82188ffe8ae35dbcf2ec26d1ccb2842691f8108d Mon Sep 17 00:00:00 2001 From: Judah MW Date: Tue, 30 Aug 2022 13:15:36 +0200 Subject: [PATCH 1/2] apps: Increase PHP post and upload limit to 100M. See #6381 --- server/conf/apps_php_fpm_pool.conf.master | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/conf/apps_php_fpm_pool.conf.master b/server/conf/apps_php_fpm_pool.conf.master index 74597272c0..b356691b0a 100644 --- a/server/conf/apps_php_fpm_pool.conf.master +++ b/server/conf/apps_php_fpm_pool.conf.master @@ -17,4 +17,7 @@ pm.max_spare_servers = 5 chdir = / ; php_admin_value[open_basedir] = /var/www/apps:/srv/www/apps:/usr/share -php_admin_flag[magic_quotes_gpc] = off \ No newline at end of file +php_admin_flag[magic_quotes_gpc] = off + +php_admin_value[post_max_size] = 100M; +php_admin_value[upload_max_filesize] = 100M; -- GitLab From c00672648a7e887563c7b6354d1dbaafe5cc421a Mon Sep 17 00:00:00 2001 From: Judah MW Date: Tue, 30 Aug 2022 13:28:15 +0200 Subject: [PATCH 2/2] apps: Removed trailing semicolons to match style of existing directives --- server/conf/apps_php_fpm_pool.conf.master | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/conf/apps_php_fpm_pool.conf.master b/server/conf/apps_php_fpm_pool.conf.master index b356691b0a..e0db30dad6 100644 --- a/server/conf/apps_php_fpm_pool.conf.master +++ b/server/conf/apps_php_fpm_pool.conf.master @@ -19,5 +19,5 @@ chdir = / ; php_admin_value[open_basedir] = /var/www/apps:/srv/www/apps:/usr/share php_admin_flag[magic_quotes_gpc] = off -php_admin_value[post_max_size] = 100M; -php_admin_value[upload_max_filesize] = 100M; +php_admin_value[post_max_size] = 100M +php_admin_value[upload_max_filesize] = 100M -- GitLab