Added php-selector support

This commit is contained in:
Alexey Berezhok
2024-08-27 23:35:17 +03:00
parent cce8d44f91
commit 3a964e54b1
7 changed files with 153 additions and 28 deletions

View File

@@ -83,6 +83,11 @@ if [ -f '/etc/redhat-release' ]; then
fi
update-alternatives --set php /usr/bin/php$version
if [ $? -eq 0 ]; then
update-alternatives --install /usr/bin/php php /usr/bin/php$version 1
update-alternatives --set php /usr/bin/php$version
fi
/usr/bin/hestiacp-php-admin system $version
#----------------------------------------------------------#
# Hestia #