Skip to content

Instantly share code, notes, and snippets.

@micoli
Created August 8, 2018 05:04
Show Gist options
  • Select an option

  • Save micoli/c71579f1ef4b625d6b7168684e2fe83b to your computer and use it in GitHub Desktop.

Select an option

Save micoli/c71579f1ef4b625d6b7168684e2fe83b to your computer and use it in GitHub Desktop.
sudo apt-get install apt-transport-https lsb-release ca-certificates
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list
sudo apt-get update
sudo apt-get install -y php7.2-cli php7.2-curl php7.2-dom php7.2-zip php7.2-mbstring php7.2-xml php7.2-gd php7.2-simplexml php7.2-intl php7.2-opcache php7.2-zip
sudo wget http://getcomposer.org/composer.phar -O /usr/local/bin/composer
sudo chmod a+x /usr/local/bin/composer
composer global require hirak/prestissimo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment