From 700c7658390a802f07e852f4f655e7febb3f9389 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 21 Jan 2023 22:50:20 +0100 Subject: [PATCH] Define PHP settings used by config panel to prevent the config panel from miserably crashing --- scripts/install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install b/scripts/install index 24e72f8..8ffaa38 100644 --- a/scripts/install +++ b/scripts/install @@ -170,6 +170,11 @@ then # Create a dedicatedPHP-FPM config ynh_add_fpm_config --usage=low --footprint=low --phpversion=$phpversion +else + # This is needed for the config panel to work even though PHP is not actually used + ynh_app_setting_set --app=$app --key=fpm_footprint --value=low + ynh_app_setting_set --app=$app --key=fpm_usage --value=low + ynh_app_setting_set --app=$app --key=fpm_free_footprint --value=0 fi #=================================================