Fixed bug where all versions of php are installed instead of just 8.2

This commit is contained in:
Ze'ev Schurmann 2024-02-14 15:01:28 +02:00
parent 3d49f1c7c9
commit eb829c1c25
1 changed files with 2 additions and 2 deletions

View File

@ -279,8 +279,8 @@ function gomariadb {
function gophp { function gophp {
#INSTALL PHP #INSTALL PHP
echo "Install PHP8.2..." 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 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-php libapache2-mod-fcgid" "EXIT" 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 "7" > "$origpath/setupninja.step"
echo echo
} }