Skip to content

Instantly share code, notes, and snippets.

@danielpereirabp
Created July 20, 2015 17:02
Show Gist options
  • Save danielpereirabp/37c8bb568e75823c9946 to your computer and use it in GitHub Desktop.
Save danielpereirabp/37c8bb568e75823c9946 to your computer and use it in GitHub Desktop.
How to setup / install PHP 5.6 on Ubuntu 14.04 LTS
1. Add PHP 5.6 package sources to your system:
sudo add-apt-repository ppa:ondrej/php5-5.6
sudo apt-get update
sudo apt-get install python-software-properties
2. Update
sudo apt-get update
3. Install PHP
sudo apt-get install php5
php5 -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment