Skip to content

Commit 44f5926

Browse files
codejp3jaapmarcus
andauthored
PHP 8.2 support (hestiacp#2969)
* Add support for PHP 8.2 * Add upgrade.conf Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com>
1 parent ddb0870 commit 44f5926

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Smart Chain: 0xfF3Dd2c889bd0Ff73d8085B84A314FC7c88e5D51<br>
3535
## Features and Services
3636

3737
- Apache2 and NGINX with PHP-FPM
38-
- Multiple PHP versions (5.6 - 8.1, 8.0 as default)
38+
- Multiple PHP versions (5.6 - 8.2, 8.0 as default)
3939
- DNS Server (Bind) with clustering capabilities
4040
- POP/IMAP/SMTP mail services with Anti-Virus, Anti-Spam, and Webmail (ClamAV, SpamAssassin, Sieve, Roundcube)
4141
- MariaDB/MySQL and/or PostgreSQL databases

bin/v-restart-service

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ else
5151
fi
5252

5353
for service in $service_list; do
54-
5554
if [ "$service" = "iptables" ]; then
5655
# Run the restart rules for iptables firewall
5756
$BIN/v-stop-firewall
@@ -74,6 +73,7 @@ for service in $service_list; do
7473
"$service" = "php7.4-fpm" -o \
7574
"$service" = "php8.0-fpm" -o \
7675
"$service" = "php8.1-fpm" -o \
76+
"$service" = "php8.2-fpm" -o \
7777
"$service" = "proftpd" -o \
7878
"$service" = "ssh" -o \
7979
"$service" = "fail2ban" ]; then

bin/v-run-cli-cmd

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ if [ -z "$(which "$clicmd")" ]; then
4747
check_result "$E_NOTEXIST" "Cli command does not exist $clicmd"
4848
fi
4949
basecmd="$(basename "$clicmd")"
50-
5150
if [ "$basecmd" != 'ps' -a \
5251
"$basecmd" != 'ls' -a \
5352
"$basecmd" != 'tar' -a \
@@ -70,6 +69,7 @@ if [ "$basecmd" != 'ps' -a \
7069
"$basecmd" != 'php7.4' -a \
7170
"$basecmd" != 'php8.0' -a \
7271
"$basecmd" != 'php8.1' -a \
72+
"$basecmd" != 'php8.2' -a \
7373
"$basecmd" != 'php' -a \
7474
"$basecmd" != "wp" -a \
7575
"$basecmd" != 'composer' ]; then

install/hst-install-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ VERBOSE='no'
3434
# Define software versions
3535
HESTIA_INSTALL_VER='1.7.0~alpha'
3636
# Dependencies
37-
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1")
37+
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1" "8.2")
3838
fpm_v="8.0"
3939
mariadb_v="10.6"
4040

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ VERBOSE='no'
3434
# Define software versions
3535
HESTIA_INSTALL_VER='1.7.0~alpha'
3636
# Dependencies
37-
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1")
37+
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1" "8.2")
3838
fpm_v="8.0"
3939
mariadb_v="10.6"
4040

install/upgrade/upgrade.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ UPGRADE_RESTART_SERVICES='true'
3535
#######################################################################################
3636

3737
# Supported PHP versions
38-
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1")
38+
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1" "8.2")
3939

4040
#######################################################################################
4141
####### 3rd Party Software Updates #######

web/edit/server/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"php-7.4",
3939
"php-8.0",
4040
"php-8.1",
41+
"php-8.2",
4142
];
4243
sort($v_php_versions);
4344

0 commit comments

Comments
 (0)