Skip to content

Instantly share code, notes, and snippets.

@garyconstable
Forked from wayanjimmy/install_php71.sh
Created July 19, 2018 10:55
Show Gist options
  • Save garyconstable/4b3cf38a98518224edae72e01c578286 to your computer and use it in GitHub Desktop.
Save garyconstable/4b3cf38a98518224edae72e01c578286 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment