gary
7/19/2018 - 10:55 AM

Install php7.1 ubuntu 16.04 EC2

Install php7.1 ubuntu 16.04 EC2

sudo apt-get update -y
sudo apt-get install -y nginx

sudo apt-get install -y python-software-properties
sudo add-apt-repository -y ppa:ondrej/php
sudo apt-get update -y

sudo apt-get install -y php7.1 php7.1-fpm php7.1-cli php7.1-common php7.1-mbstring php7.1-gd php7.1-intl php7.1-xml php7.1-mysql php7.1-mcrypt php7.1-zip

sudo apt-get install php-curl
sudo apt-get install php-imagick
sudo apt-get install mysql-server
# see https://www.vultr.com/docs/how-to-install-and-configure-php-70-or-php-71-on-ubuntu-16-04