Created
February 27, 2021 06:09
-
-
Save anselmelly/ebd2f75bff755ed25966ccb2ce73843d 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 upgrade -y; | |
| 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/ buster main" | sudo tee /etc/apt/sources.list.d/php.list; | |
| sudo apt update; | |
| sudo apt -y install php7.4; | |
| sudo systemctl disable --now apache2; | |
| sudo apt install -y php7.4-{fpm,mysql,dom,simplexml,ssh2,xml,xmlreader,curl,exif,ftp,gd,iconv,imagick,json,mbstring,posix,sockets,tokenizer,soap}; | |
| sudo systemctl enable --now php7.4-fpm nginx mysql; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment