1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00

Merge pull request #104 from YunoHost-Apps/fix-config-panel-install

Define PHP settings used by config panel to prevent the config panel from miserably crashing
This commit is contained in:
Éric Gaspar 2023-01-25 13:48:11 +01:00 committed by GitHub
commit 563d0dadaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -178,6 +178,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
#=================================================