Last active
January 21, 2020 21:56
-
-
Save AysadKozanoglu/52aa3439f87703edaa2163795896b526 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/sh | |
#author: Aysad Kozanoglu | |
#email: aysadx@gmail.com | |
# | |
# QUICK launch script | |
# wget -O - https://git.io/fhxNt | bash | |
# | |
#!/bin/sh | |
#author: Aysad Kozanoglu | |
#email: aysadx@gmail.com | |
# | |
# QUICK launch script | |
# wget -O - https://git.io/fpuND | bash | |
# | |
# apt-get -y remove php5* --purge | |
PHPPACKS="php7.2 php7.2-mysql php7.2-mbstring php7.2-xml php7.2-zip php7.2-intl php7.2-gd php7.2-fpm php7.2-json php7.2-curl " | |
echo -e "installing php7 " | |
apt install -y --yes ca-certificates apt-transport-https | |
wget -q https://packages.sury.org/php/apt.gpg -O- | apt-key add - | |
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php.list | |
apt update && apt install php7.2 # apt install php7.3 | |
apt install -y --yes $PHPPACKS | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment