Skip to content

Instantly share code, notes, and snippets.

@Nimdis
Created April 23, 2016 07:32
Show Gist options
  • Save Nimdis/8afeee8efe2b4786d1e614d245ff048c to your computer and use it in GitHub Desktop.
Save Nimdis/8afeee8efe2b4786d1e614d245ff048c to your computer and use it in GitHub Desktop.
php5 on ubuntu 16.04
add-apt-repository ppa:ondrej/php
apt update
apt install php5.6 libapache2-mod-php5.6 php5.6-curl php5.6-gd php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml php5.6-xmlrpc
a2dismod php7.0
a2enmod php5.6
systemctl restart apache2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment