Update PHP to 5.6 in Ubuntu 14.04 - OneNightStudy.Com

Tuesday, 13 February 2018

Update PHP to 5.6 in Ubuntu 14.04

Commands to Update the php version to 5.5 on ubuntu 14.04:

sudo a2dismod php5

sudo a2enmod php5.6

sudo service apache2 restart

sudo apt-get -y update

sudo add-apt-repository ppa:ondrej/php

sudo apt-get -y install php5.6 php5.6-mcrypt php5.6-mbstring php5.6-curl php5.6-cli php5.6-mysql php5.6-gd php5.6-intl php5.6-xsl php5.6-zip php5.6-soap

No comments:

Post a Comment