Skip to content

Instantly share code, notes, and snippets.

@MatthewDaniels
Created November 10, 2017 07:45
Show Gist options
  • Save MatthewDaniels/3f70b662153500586adaf6b20d3ed42a to your computer and use it in GitHub Desktop.
Save MatthewDaniels/3f70b662153500586adaf6b20d3ed42a to your computer and use it in GitHub Desktop.
sudo apt-get -y install php7.2 php7.2-dev php7.2-mysql php-apcu php7.2-gd php7.0-mcrypt php-memcache php7.2-curl php7.2-tidy php-xml php-json php7.2-mbstring php-gettext libmcrypt-dev mcrypt php-gd libmcrypt4 libmhash2 libtidy5 libxslt1.1 php-apcu-bc php-pear php7.2-mbstring php7.2-xml php7.2-fpm php7.2 php-mongodb
# remove apache
update-rc.d -f apache2 remove
apt-get remove apache2
sudo update-rc.d -f php7.2-fpm default
sudo service php7.2-fpm restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment