Update php.sh
This commit is contained in:
parent
42e8d06504
commit
cb0a9ead75
|
|
@ -21,6 +21,9 @@ apt remove -y php7.4 php7.4-cli php7.4-fpm php7.4-pgsql php7.4-sqlite3 php7.4-od
|
|||
#remove php 8.1
|
||||
apt remove -y php8.1 php8.1-cli php8.1-dev php8.1-fpm php8.1-pgsql php8.1-sqlite3 php8.1-odbc php8.1-curl php8.1-imap php8.1-xml php8.1-gd php8.1-mbstring php8.1-ldap
|
||||
|
||||
#remove php 8.2
|
||||
apt remove -y php8.2 php8.2-cli php8.2-dev php8.2-fpm php8.2-pgsql php8.2-sqlite3 php8.2-odbc php8.2-curl php8.2-imap php8.2-xml php8.2-gd php8.2-mbstring php8.2-ldap
|
||||
|
||||
#add a repo for php 7.x
|
||||
apt -y install apt-transport-https lsb-release ca-certificates curl wget gnupg2
|
||||
wget -qO- https://packages.sury.org/php/apt.gpg | gpg --dearmor > /etc/apt/trusted.gpg.d/sury-php-8.x.gpg
|
||||
|
|
|
|||
Loading…
Reference in New Issue