Page 1 of 1

Vestacp- Ubuntu 14 - PHP 5.6 upgrade

Posted: Sun Nov 20, 2016 2:39 pm
by MAN5
Hi.
My current version is latest vestacp (Ubuntu 14.xx)
There is a latest WHMCS_701 is need in PHP 5.6.
I unable to find a better document to upgrade my php5.5 > php5.6. Anybody can help on this.?

Re: Vestacp- Ubuntu 14 - PHP 5.6 upgrade

Posted: Sun Nov 20, 2016 2:52 pm
by ScIT
Please have a look at the PPA from Ondrey Survy: https://launchpad.net/~ondrej/+archive/ubuntu/php

Then you should be able to install the php-5.6 package.

Re: Vestacp- Ubuntu 14 - PHP 5.6 upgrade

Posted: Mon Nov 21, 2016 12:55 am
by MAN5
Hi scIT..
I followed your link. All went fine. But still my info.php shows as 5.5.9
But yesterday i followed this same way also from different website..
my SSH command 'php -v' > shows as php 5.6
my VestaCP website 'info.php' > shows as 5.5.9.

so it seems, i installed php 5.6 on default ubuntu location, but vestaCP wont care about this.
vestaCP's PHP installation seems in diff way & location.

Any suggestion for vestaCP.?

Re: Vestacp- Ubuntu 14 - PHP 5.6 upgrade

Posted: Mon Nov 21, 2016 8:00 am
by ScIT
you should need to do something like:

Code: Select all

sudo a2dismod php
sudo a2enmod php5.6
sudo service apache2 restart

Re: Vestacp- Ubuntu 14 - PHP 5.6 upgrade

Posted: Sun Nov 27, 2016 12:35 pm
by MAN5
Hi ScIT. Works fine. Thank you
ScIT wrote:you should need to do something like:

Code: Select all

sudo a2dismod php
sudo a2enmod php5.6
sudo service apache2 restart