From dabc535bf2af87d988ca5d864ac4709b37183956 Mon Sep 17 00:00:00 2001 From: Gofannon <17145502+Gofannon@users.noreply.github.com> Date: Fri, 26 Aug 2022 19:47:54 +0200 Subject: [PATCH] add forgotten file for php helper ... --- conf/extra_php-fpm.conf | 22 ++++++++++++++++++++++ 1 file changed, 22 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..b58eff4 --- /dev/null +++ b/conf/extra_php-fpm.conf @@ -0,0 +1,22 @@ +; Additional 'php.ini' parameters for this YunoHost package/application +; +; is added at the end the "php configuration" generated by "ynh_add_fpm_config" +; See https://github.com/YunoHost/yunohost/blob/ec271043cdcf28ba74acc87d4ae854d8c2852695/helpers/php#L184 + + +; Parameters are documented on the PHP website: +; https://www.php.net/manual/en/ini.core.php#ini.upload-max-filesize +; https://www.php.net/manual/en/configuration.changes.php + +; 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] = 50M +php_admin_value[post_max_size] = 50M +;php_admin_value[memory_limit] = 64M + +; Other common parameters +; php_admin_value[max_execution_time] = 600 +; php_admin_value[max_input_time] = 300 + +; php_admin_flag[mail.add_x_header] = Off +; php_admin_flag[short_open_tag] = On