diff --git a/scripts/_common.sh b/scripts/_common.sh index 944a65e..092a127 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,6 +4,8 @@ # COMMON VARIABLES #================================================= +phpversion=8.2 + #================================================= # PERSONAL HELPERS #================================================= diff --git a/scripts/install b/scripts/install index cb124d7..6f6bf78 100755 --- a/scripts/install +++ b/scripts/install @@ -104,7 +104,7 @@ ynh_add_nginx_config ynh_script_progression --message="Configuring PHP-FPM..." --weight=2 # Create a dedicated PHP-FPM config -ynh_add_fpm_config +ynh_add_fpm_config --phpversion=$phpversion #================================================= # SPECIFIC SETUP diff --git a/scripts/upgrade b/scripts/upgrade index 6ef5931..440903d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -177,7 +177,7 @@ ynh_add_nginx_config ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=2 # Create a dedicated PHP-FPM config -ynh_add_fpm_config +ynh_add_fpm_config --phpversion=$phpversion #================================================= # SPECIFIC UPGRADE