Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
#author: Aysad Kozanoglu
# QUICK launch script
# wget -O - | bash
# apt-get -y remove php5* --purge
echo -e "installing php7 "
apt install ca-certificates apt-transport-https curl wget
wget -q -O- | apt-key add -
# curl -fsSL | apt-key add -
echo "deb jessie main" > /etc/apt/sources.list.d/php.list
apt-get update && apt-get -y install php7.2 php7.2-fpm php7.2-common php7.2-curl php7.2-gd php7.2-json php7.2-mbstring php7.2-mysql php7.2-xml
php -m; php -v
/etc/init.d/php7.2-fpm start
# fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.