fichier de preference sury
This commit is contained in:
parent
af0feb693b
commit
a84fb25ba0
|
@ -63,6 +63,15 @@ Exemple, si on souhaite seulement php7.3 :
|
|||
# apt install wget apt-transport-https
|
||||
# wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
|
||||
# echo "deb https://packages.sury.org/php/ stretch main" > /etc/apt/sources.list.d/sury.list
|
||||
# cat << EOT > /etc/apt/preferences.d/z-sury
|
||||
Package: php* libapache2-mod-php* libpcre2* libzip4*
|
||||
Pin: origin packages.sury.org
|
||||
Pin-Priority: 999
|
||||
|
||||
Package: *
|
||||
Pin: origin packages.sury.org
|
||||
Pin-Priority: 50
|
||||
EOT
|
||||
# apt update
|
||||
# apt install php7.3 php7.3-cli php7.3-curl php7.3-mysql php7.3-pgsql php7.3-ldap php7.3-imap php7.3-gd php7.3-intl php-ssh2 php-gettext composer libphp-phpmailer
|
||||
|
||||
|
|
Loading…
Reference in a new issue