Last active
July 6, 2021 14:40
-
-
Save anselmelly/489aaad3af744cd8e95c0e547b2995cf 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
| sudo apt update; | |
| sudo apt install -y curl wget gnupg2 ca-certificates lsb-release apt-transport-https; | |
| wget https://packages.sury.org/php/apt.gpg; | |
| sudo apt-key add apt.gpg; | |
| echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php7.list; | |
| sudo apt update; | |
| sudo apt install -y php7.4-{fpm,mysql,dom,simplexml,ssh2,xml,xmlreader,curl,exif,ftp,gd,iconv,imagick,json,mbstring,posix,sockets,tokenizer}; | |
| sudo update-alternatives --set php /usr/bin/php7.4; | |
| sudo systemctl disable --now apache2; |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i̶t̶ ̶i̶s̶ ̶i̶n̶ ̶/̶u̶s̶r̶/̶l̶o̶c̶a̶l̶/̶v̶e̶s̶t̶a̶/̶f̶u̶n̶c̶/̶d̶o̶m̶a̶i̶n̶.̶s̶h̶ ̶f̶r̶o̶m̶ ̶l̶i̶n̶e̶ ̶8̶5̶ ̶;̶-̶)̶