Added fixes for php manipulation and system config
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user