From eb829c1c258b13bb0525886b949108a9e756d19f Mon Sep 17 00:00:00 2001 From: thisiszeev Date: Wed, 14 Feb 2024 15:01:28 +0200 Subject: [PATCH] Fixed bug where all versions of php are installed instead of just 8.2 --- setupninja.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setupninja.sh b/setupninja.sh index fec616b..bb0cd43 100644 --- a/setupninja.sh +++ b/setupninja.sh @@ -279,8 +279,8 @@ function gomariadb { function gophp { #INSTALL PHP echo "Install PHP8.2..." - apt -y install php8.2-{fpm,soap,bcmath,common,imagick,mysql,gmp,curl,intl,mbstring,xmlrpc,gd,xml,cli,zip,bz2,fpm} libapache2-mod-php libapache2-mod-fcgid > /dev/null 2>&1 - errorcheck $? "apt -y install php8.2-{fpm,soap,bcmath,common,imagick,mysql,gmp,curl,intl,mbstring,xmlrpc,gd,xml,cli,zip,bz2,fpm} libapache2-mod-php libapache2-mod-fcgid" "EXIT" + apt -y install php8.2-{fpm,soap,bcmath,common,imagick,mysql,gmp,curl,intl,mbstring,xmlrpc,gd,xml,cli,zip,bz2,fpm} libapache2-mod-php8.2 libapache2-mod-fcgid > /dev/null 2>&1 + errorcheck $? "apt -y install php8.2-{fpm,soap,bcmath,common,imagick,mysql,gmp,curl,intl,mbstring,xmlrpc,gd,xml,cli,zip,bz2,fpm} libapache2-mod-php8.2 libapache2-mod-fcgid" "EXIT" echo "7" > "$origpath/setupninja.step" echo }