From 0a73f1d5b35030feecb17b9e7bfbcd8d9115f883 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Mon, 17 Jun 2024 20:17:10 +0200 Subject: [PATCH] fix --- conf/extra_php-fpm.conf | 4 ++++ scripts/install | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) 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..151b0c1 --- /dev/null +++ b/conf/extra_php-fpm.conf @@ -0,0 +1,4 @@ +; Additional php.ini defines, specific to this pool of workers. + +php_admin_value[upload_max_filesize] = 50M +php_admin_value[post_max_size] = 50M \ No newline at end of file diff --git a/scripts/install b/scripts/install index 6ef511d..d55f618 100755 --- a/scripts/install +++ b/scripts/install @@ -21,9 +21,6 @@ email=$(ynh_user_get_info --username=$admin --key="mail") #================================================= ynh_app_setting_set --app=$app --key=random_key --value=$random_key -ynh_app_setting_set --app=$app --key=fpm_footprint --value=$fpm_footprint -ynh_app_setting_set --app=$app --key=fpm_free_footprint --value=$fpm_free_footprint -ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage #================================================= # STANDARD MODIFICATIONS @@ -50,8 +47,6 @@ chown -R $app:www-data "$install_dir" #================================================= ynh_script_progression --message="Configuring PHP-FPM..." --weight=1 -ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint - # Create a dedicated NGINX config ynh_add_nginx_config