Wie installiere ich php7.4 und php7.4-fpm in Debian, Deepin, Ubuntu, Mint, etc.
Installiere das Projek
tarchiv: – apt install gn
upg2 -y ' wget -qO – https://packages.sury.org/php/apt.gpg | sudo apt-ke
y add – echo "deb https://packages.sury.org/php/ '(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php7.x
.list Upd
ate: . apt upd
ate – apt-upgra
de Instal
l: . apt install php7.
4 Install with most used extensions: sudo ap
t install php libapache2-mod-install php7.4 php7.4-cli php7.4-common php7.4-json php7.4-opcache php7.4-readline libphp7.4-embed php7.4-bz2 php7.4-common php7.4-curl php7.4-dba php7.4-fpm php7.4-gd php7.4-interbase php7.4-intl php7.4-ldap php7.4-mbstring php 7.4-mysql php7.4-pgsql php7.4-phpdbg php7.4-soap php7.4-sqlite3 php7.4-tidy php7.4-xml php7.4-xsl php7.4-zip
Austausch der PHP-Ve
rsion: –set php /usr/bin/php7.4- update-a
lternatives –set phar /usr/bin/phar7.4- upd
ate-alternatives –set phar.phar /usr/bin/phar.phar7.4
Aktivieren
von php7.4-fpm: " systemctl deaktivier
en php*-fpm (S
wap * für die V
ersion des aktue
ll aktiven) . .