From 095689194f20548c82deb3c94ceef9f20553e357 Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Sat, 8 Jan 2022 14:29:07 +0800 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D1=80=D1=80=D0=B5=D0=BA=D1=82?= =?UTF-8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=BA=D0=B0=20php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install/710-php.sh | 50 +++++++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 23 deletions(-) diff --git a/install/710-php.sh b/install/710-php.sh index 4b524df..6d983a2 100755 --- a/install/710-php.sh +++ b/install/710-php.sh @@ -1,28 +1,32 @@ #!/bin/bash -. "../src/01-common.sh" || exit 5 PHPVER="8.1" -title "Installing php${PHPVER}..." +echo +echo "===============================================" +echo "Installing php${PHPVER}..." +echo "===============================================" +echo sudo LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php -apti php${PHPVER} \ - php${PHPVER}-xdebug \ - php${PHPVER}-bcmath \ - php${PHPVER}-bz2 \ - php${PHPVER}-curl \ - php${PHPVER}-gd \ - php${PHPVER}-json \ - php${PHPVER}-mbstring \ - php${PHPVER}-mysql \ - php${PHPVER}-opcache \ - php${PHPVER}-pgsql \ - php${PHPVER}-soap \ - php${PHPVER}-xml \ - php${PHPVER}-xmlrpc \ - php${PHPVER}-xsl \ - php${PHPVER}-zip - # php${PHPVER}-common - # php${PHPVER}-cli - # php${PHPVER}-dba - # php${PHPVER}-ldap - # php${PHPVER}-sqlite3 +sudo apt install -y --autoremove \ + php${PHPVER} \ + php${PHPVER}-cli \ + php${PHPVER}-common \ + php${PHPVER}-xdebug \ + # php${PHPVER}-bcmath \ + # php${PHPVER}-bz2 \ + # php${PHPVER}-curl \ + # php${PHPVER}-gd \ + # php${PHPVER}-json \ + # php${PHPVER}-mbstring \ + # php${PHPVER}-mysql \ + # php${PHPVER}-opcache \ + # php${PHPVER}-pgsql \ + # php${PHPVER}-soap \ + # php${PHPVER}-xml \ + # php${PHPVER}-xmlrpc \ + # php${PHPVER}-xsl \ + # php${PHPVER}-sqlite3 \ + # php${PHPVER}-zip + # php${PHPVER}-dba + # php${PHPVER}-ldap php -v