Page 1 of 1

Upgrading PHP

Posted: Mon Dec 08, 2014 9:09 pm
by nightstryke
Hi, I'm using Debian 7 with PHP 5.4 installed.

Could someone give me a tutorial on how to upgrade VestaCP to php 5.5?
There's some server software I'd like to run that is not compatible with php 5.4

Re: Upgrading PHP

Posted: Mon Dec 08, 2014 10:24 pm
by emardotcom
You don't need to do anything special with Vesta all you have to do is find in google how to update php.
Here is an example but its for Centos 6.5 but all you need to do is us apt-get instead of yum.
http://stackoverflow.com/questions/2623 ... ntos-64bit

Re: Upgrading PHP

Posted: Tue Dec 09, 2014 5:19 pm
by nightstryke
Has anyone done this using debian?

Re: Upgrading PHP

Posted: Tue Dec 09, 2014 7:56 pm
by imperio
/etc/apt/sources.list

Code: Select all

deb http://packages.dotdeb.org wheezy-php55 all
deb-src http://packages.dotdeb.org wheezy-php55 all

Code: Select all

apt-get update
apt-get upgrade

Code: Select all

apt-get install php5-cli

Re: Upgrading PHP

Posted: Tue Dec 09, 2014 8:30 pm
by nightstryke
imperio wrote:/etc/apt/sources.list

Code: Select all

deb http://packages.dotdeb.org wheezy-php55 all
deb-src http://packages.dotdeb.org wheezy-php55 all

Code: Select all

apt-get update
apt-get upgrade

Code: Select all

apt-get install php5-cli
Thanks Imperio!