瀏覽代碼

PHP-8.5 support (#5157)

This PR adds support for PHP 8.5 but it shouldn’t be merged yet:

**1.-** PHP 8.5 GA will be released on November 20th.
**2.-** Sury hasn’t released the packages for 8.5 yet.
sahsanu 3 月之前
父節點
當前提交
430cbc7394

+ 1 - 0
bin/v-restart-service

@@ -76,6 +76,7 @@ for service in $service_list; do
 		"$service" = "php8.2-fpm" -o \
 		"$service" = "php8.3-fpm" -o \
 		"$service" = "php8.4-fpm" -o \
+		"$service" = "php8.5-fpm" -o \
 		"$service" = "proftpd" -o \
 		"$service" = "ssh" -o \
 		"$service" = "fail2ban" ]; then

+ 1 - 0
bin/v-run-cli-cmd

@@ -73,6 +73,7 @@ if [ "$basecmd" != 'ps' -a \
 	"$basecmd" != 'php8.2' -a \
 	"$basecmd" != 'php8.3' -a \
 	"$basecmd" != 'php8.4' -a \
+	"$basecmd" != 'php8.5' -a \
 	"$basecmd" != 'php' -a \
 	"$basecmd" != "wp" -a \
 	"$basecmd" != 'composer' ]; then

+ 1 - 1
install/hst-install-debian.sh

@@ -33,7 +33,7 @@ VERBOSE='no'
 # Define software versions
 HESTIA_INSTALL_VER='1.10.0~alpha'
 # Supported PHP versions
-multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1" "8.2" "8.3" "8.4")
+multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1" "8.2" "8.3" "8.4" "8.5")
 # One of the following PHP versions is required for Roundcube / phpmyadmin
 multiphp_required=("7.3" "7.4" "8.0" "8.1" "8.2" "8.3")
 # Default PHP version if none supplied

+ 1 - 1
install/hst-install-ubuntu.sh

@@ -33,7 +33,7 @@ VERBOSE='no'
 # Define software versions
 HESTIA_INSTALL_VER='1.10.0~alpha'
 # Supported PHP versions
-multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1" "8.2" "8.3" "8.4")
+multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1" "8.2" "8.3" "8.4" "8.5")
 # One of the following PHP versions is required for Roundcube / phpmyadmin
 multiphp_required=("7.3" "7.4" "8.0" "8.1" "8.2" "8.3")
 # Default PHP version if none supplied

+ 1 - 1
install/upgrade/upgrade.conf

@@ -35,7 +35,7 @@ UPGRADE_RESTART_SERVICES='true'
 #######################################################################################
 
 # Supported PHP versions
-multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1" "8.2" "8.3" "8.4")
+multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1" "8.2" "8.3" "8.4" "8.5")
 
 #######################################################################################
 #######                        3rd Party Software Updates                       #######

+ 1 - 0
web/edit/server/index.php

@@ -41,6 +41,7 @@ $v_php_versions = [
 	"php-8.2",
 	"php-8.3",
 	"php-8.4",
+	"php-8.5",
 ];
 sort($v_php_versions);