Корректировка php

This commit is contained in:
Anthony Axenov 2022-01-08 14:29:07 +08:00
parent 53681a2e66
commit 095689194f
Signed by: anthony
GPG Key ID: EA9EC32FF7CCD4EC

View File

@ -1,28 +1,32 @@
#!/bin/bash #!/bin/bash
. "../src/01-common.sh" || exit 5
PHPVER="8.1" 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 sudo LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php
apti php${PHPVER} \ sudo apt install -y --autoremove \
php${PHPVER} \
php${PHPVER}-cli \
php${PHPVER}-common \
php${PHPVER}-xdebug \ php${PHPVER}-xdebug \
php${PHPVER}-bcmath \ # php${PHPVER}-bcmath \
php${PHPVER}-bz2 \ # php${PHPVER}-bz2 \
php${PHPVER}-curl \ # php${PHPVER}-curl \
php${PHPVER}-gd \ # php${PHPVER}-gd \
php${PHPVER}-json \ # php${PHPVER}-json \
php${PHPVER}-mbstring \ # php${PHPVER}-mbstring \
php${PHPVER}-mysql \ # php${PHPVER}-mysql \
php${PHPVER}-opcache \ # php${PHPVER}-opcache \
php${PHPVER}-pgsql \ # php${PHPVER}-pgsql \
php${PHPVER}-soap \ # php${PHPVER}-soap \
php${PHPVER}-xml \ # php${PHPVER}-xml \
php${PHPVER}-xmlrpc \ # php${PHPVER}-xmlrpc \
php${PHPVER}-xsl \ # php${PHPVER}-xsl \
php${PHPVER}-zip # php${PHPVER}-sqlite3 \
# php${PHPVER}-common # php${PHPVER}-zip
# php${PHPVER}-cli
# php${PHPVER}-dba # php${PHPVER}-dba
# php${PHPVER}-ldap # php${PHPVER}-ldap
# php${PHPVER}-sqlite3
php -v php -v