Skip to content

Instantly share code, notes, and snippets.

@iksecreeet
Forked from fazni/php7_2_upgrade.sh
Created September 28, 2018 16:02
Show Gist options
  • Save iksecreeet/410b21e1c1efa0941ae061566a473434 to your computer and use it in GitHub Desktop.
Save iksecreeet/410b21e1c1efa0941ae061566a473434 to your computer and use it in GitHub Desktop.
Installing PHP 7.2 Ubuntu 14.04, 16.04, 17.04, & 17.10
#!/bin/sh
# Installing PHP 7.2
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.2-cli
sudo apt-get install php7.2-mysql php7.2-curl php7.2-json php7.2-cgi php7.2-xsl
# For developer drupal 8 apply patch https://www.drupal.org/files/issues/php_7_2_fatal_error-2894884-3.patch
# see https://www.drupal.org/project/webform/issues/2894884
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment