Last active
October 2, 2019 14:28
-
-
Save wayanjimmy/f1679e4c9dc9251fd9df520f5bbe2b5b to your computer and use it in GitHub Desktop.
Install php7.1 ubuntu 16.04 EC2
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-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
If you are using Debian / Ubuntu LTS such as 18.04, 16.04, and 14.04 systems then install software-properties-common package to get add-apt-repository command.