Skip to content

Instantly share code, notes, and snippets.

@garyconstable
Forked from wayanjimmy/install_php71.sh
Created July 19, 2018 10:55

Revisions

  1. @wayanjimmy wayanjimmy revised this gist Jun 20, 2017. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions install_php71.sh
    Original file line number Diff line number Diff line change
    @@ -7,4 +7,7 @@ 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
  2. @wayanjimmy wayanjimmy created this gist Jun 16, 2017.
    10 changes: 10 additions & 0 deletions install_php71.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    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

    # see https://www.vultr.com/docs/how-to-install-and-configure-php-70-or-php-71-on-ubuntu-16-04