Last active
February 3, 2022 17:40
-
-
Save ansulev/472a5164bb6c554cb697bc5b542e1cee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add suri repo | |
sudo apt -y install lsb-release apt-transport-https ca-certificates | |
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg | |
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list | |
sudo update | |
# install php7.4 | |
sudo apt-get install php7.4 | |
# for nginx | |
apt install php7.4-fpm php7.4-{apcu,bcmath,bz2,cgi,cli,common,curl,dba,enchant,intl,gd,imap,json,,mbstring,mysql,odbc,opcache,phpdbg,redis,snmp,soap,sqlite3,tidy,xml,xsl,zip} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment