What's New

Installing PHP 5.6 on Ubuntu 16.04 Desktop [video]

ubuntu_featured_img

Needed to install PHP 5.6 within Ubuntu 16.04 to install a Fog Server because Ubuntu automatically has version PHP 7.0 installed. Here are the commands to get you up and running.

Step 1: Adding the PPA for PHP 5.5:

sudo add-apt-repository ppa:ondrej/php

Step 2: Install your PHPv5.6 using the following commands:

sudo apt-get update
sudo apt-get install php5.6

Step 3: This step is optional, but you can install php5.6 modules using this command:

sudo apt-get install php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml

Step 4: This step is optional, but if you want to make sure that PHP v5.6 is installed use the following:

sudo php -v

 

About BjTechNews (1046 Articles)
An IT guy trying to learn everything about technology and sharing it with you all. I'm a blogger and video blogger who highlights daily news in the tech industry, promoting tips and hacks for fellow techies.

2 Comments on Installing PHP 5.6 on Ubuntu 16.04 Desktop [video]

  1. Carlos A Jaramillo T // February 9, 2017 at 3:27 pm // Reply

    Buenas tardes. Realizo el procedimiento como lo mencionas pero la versión que se instala es la 7.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: