@@ -130,7 +130,7 @@ NGINX_CONF="/etc/nginx/nginx.conf"
130
130
NGINX_DEF=" $SITES_AVAILABLE /default"
131
131
132
132
# PHP-FPM
133
- PHPVER=8.1
133
+ PHPVER=8.4
134
134
PHP_FPM_DIR=/etc/php/$PHPVER /fpm
135
135
PHP_INI=$PHP_FPM_DIR /php.ini
136
136
PHP_POOL_DIR=$PHP_FPM_DIR /pool.d
@@ -485,10 +485,10 @@ version(){
485
485
486
486
[[ $2 != " $h " && $2 != " $t " ]]
487
487
}
488
- if ! version 20.04 " $DISTRO " 22 .04.10
488
+ if ! version 20.04 " $DISTRO " 24 .04.10
489
489
then
490
490
print_text_in_color " $IRed " " Your current Ubuntu version is $DISTRO but must be between \
491
- 20.04 - 22 .04.10 to run this script."
491
+ 20.04 - 24 .04.10 to run this script."
492
492
print_text_in_color " $ICyan " " Please contact us to get support for upgrading your server:"
493
493
print_text_in_color " $ICyan " " https://www.hanssonit.se/#contact"
494
494
print_text_in_color " $ICyan " " https://shop.hanssonit.se/"
@@ -711,8 +711,8 @@ You can find the download link here: https://www.ubuntu.com/download/server"
711
711
exit 1
712
712
fi
713
713
714
- if ! version 20.04 " $DISTRO " 22 .04.10; then
715
- msg_box " Your current Ubuntu version is $DISTRO but must be between 20.04 - 22 .04.10 to run this script."
714
+ if ! version 20.04 " $DISTRO " 24 .04.10; then
715
+ msg_box " Your current Ubuntu version is $DISTRO but must be between 20.04 - 24 .04.10 to run this script."
716
716
msg_box " Please contact us to get support for upgrading your server:
717
717
https://www.hanssonit.se/#contact
718
718
https://shop.hanssonit.se/"
@@ -807,7 +807,7 @@ version(){
807
807
808
808
[[ $2 != " $h " && $2 != " $t " ]]
809
809
}
810
- if version 20.04 " $DISTRO " 22 .04.10
810
+ if version 20.04 " $DISTRO " 24 .04.10
811
811
then
812
812
print_text_in_color " $ICyan " " Testing if network is OK..."
813
813
if ! netplan apply
828
828
fi
829
829
fi
830
830
else
831
- msg_box " Your current Ubuntu version is $DISTRO but must be between 20.04 - 22 .04.6 to run this script."
831
+ msg_box " Your current Ubuntu version is $DISTRO but must be between 20.04 - 24 .04.6 to run this script."
832
832
msg_box " Please contact us to get support for upgrading your server:
833
833
https://www.hanssonit.se/#contact
834
834
https://shop.hanssonit.se/"
0 commit comments