Installing php 5.6 on Ubuntu
Published 6 years and 1 month ago, Categorized under: Code, Linux, PHP

TBH installing it is simple, you have just need to :

  1. Adding the PPA for PHP 5.6 in your Ubuntu system
  2. Install PHP 5.6
$ sudo apt-get install python-software-properties 
$ sudo add-apt-repository ppa:ondrej/php5-5.6
$ sudo apt-get update
$ sudo apt-get install -y php5-cli php5-fpm php5-mcrypt php5-sqlite php5-common php5-curl php5-intl php5-json php5-mysql

And thats it, you are now ready to use PHP 5.6 on your server.

Share It via: