From a81ca1160384f4c7b8daff806ef2d80695f0e26d Mon Sep 17 00:00:00 2001 From: Gofannon Date: Sun, 21 Aug 2022 01:15:46 +0200 Subject: [PATCH] add 'extra_php-fpm.conf' to custom php config "ynh_add_fpm_config" uses this file at the end of its setup Allows to upload bigger files than default --- conf/extra_php-fpm.conf | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 conf/extra_php-fpm.conf diff --git a/conf/extra_php-fpm.conf b/conf/extra_php-fpm.conf new file mode 100644 index 0000000..db2ca45 --- /dev/null +++ b/conf/extra_php-fpm.conf @@ -0,0 +1,7 @@ +; Additional 'php.ini' parameters for this YunoHost package/application + +; Common values to change to increase file upload limit +; Tips: you need to do modify nginx config too: "client_max_body_size" +php_admin_value[upload_max_filesize] = 25M +php_admin_value[post_max_size] = 25M +;source: https://www.dokuwiki.org/faq:uploadsize