Added fixes for php manipulation and system config

This commit is contained in:
Alexey Berezhok
2024-06-14 00:14:42 +03:00
parent 12d787ea87
commit b52ec2c862
8 changed files with 158 additions and 39 deletions

View File

@@ -1380,6 +1380,7 @@ if [ "$phpfpm" = "yes" ]; then
systemctl enable php${php_v}-php-fpm --now >> $LOG
check_result $? "php-fpm start failed"
# Set default php version to $php_v
alternatives --install /usr/bin/php php /usr/bin/php$php_v 1 > /dev/null 2>&1
alternatives --set php /usr/bin/php$php_v > /dev/null 2>&1
fi