Created
November 14, 2016 17:50
-
-
Save mariacha/bcdcde350aff0a09786929ceadd786c9 to your computer and use it in GitHub Desktop.
Upgrading Probo instance php version to 5.6 for Drupal 8.x
This file contains 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
- name: Upgrade to php 5.6 | |
plugin: Script | |
script: | | |
sudo apt-get update | |
sudo apt-get install -y software-properties-common language-pack-en-base | |
LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php | |
LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/apache2 | |
apt-get update | |
sudo apt-get install -y php5.6 php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml php5.6-gd php5.6-curl php5.6-json php5.6-imagick php5.6-dev php5.6-gmp | |
sudo a2dismod php5 | |
sudo a2enmod php5.6 | |
apachectl graceful | |
php -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment