1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/firefly-iii_ynh.git synced 2024-09-03 18:36:13 +02:00

Updated necessary PHP version to 8.2

This commit is contained in:
Marc Ordinas i Llopis 2023-03-12 12:27:44 +01:00
parent c163726abe
commit fa432ffd29
3 changed files with 3 additions and 4 deletions

View file

@ -26,7 +26,7 @@
"multi_instance": true,
"services": [
"nginx",
"php8.0-fpm",
"php8.2-fpm",
"mysql"
],
"arguments": {

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES
#=================================================
YNH_PHP_VERSION="8.0"
YNH_PHP_VERSION="8.2"
# Composer version
YNH_COMPOSER_VERSION="2.3.5"

View file

@ -25,7 +25,6 @@ db_user=$db_name
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
random_key=$(ynh_app_setting_get --app=$app --key=random_key)
email=$(ynh_user_get_info --username=$admin --key=mail)
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
timezone="$(cat /etc/timezone)"
fpm_footprint=$(ynh_app_setting_get --app=$app --key=fpm_footprint)
@ -133,7 +132,7 @@ ynh_install_app_dependencies $pkg_dependencies
ynh_script_progression --message="Upgrading PHP-FPM configuration..."
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --phpversion=$phpversion --usage=$fpm_usage --footprint=$fpm_footprint
ynh_add_fpm_config --phpversion=$YNH_PHP_VERSION --usage=$fpm_usage --footprint=$fpm_footprint
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#=================================================