upgrading to php 5.6 in vesta cp

Yesterday I was told to set up a new php server in company for some small project. I did not really want to set everything up manually as the person who will be using this server is not geeky. So by looking around I came to find Vesta Control Panel aka VestaCP. it sounds lightweight and promising considering its a free tool. well of course it is so simple and it can never be compared to things like cPanel, but for this kind of setup it seems to be good.

The only con about this panel is the file manager. basically there is no file manager and if you want to have it you got to pay. but who cares. we can always use FTP.

One issue is that the current version of vestacp installs php 5.4 by default which is too out dated for our current apps. most of the new CMSes and Frameworks such as Laravel require php  >= 5.5. So what I had to do was to upgrade the PHP version to 5.6 from 5.4.

In this particular case I’m running CentOS 7.

By default php 5.6 is not in the repository of cent os and you need to be adding some repo like epel or remi. Vesta will bring remi repository for you.

to upgrade all installed php tools on your server from 5.4 to 5.6 run following command:

yum --enablerepo=remi-php56 upgrade php-mysql php-devel php-gd php-pecl-memcache php-xmlrpc php-pspell php-snmp

If you found that you do not have remi repo on your machine you can get it from links below depending on the cent os version you are using:

Remi For CentOs 5 / Remi For CentOs 6 / Remi For CentOs 7

You can find other links to remi at here.

Hope this helps.

Incoming search terms:

  • vesta php5 4
  • set php version vesta
  • vesta php5 6 debian
  • vesta php5 6
  • updata vesta php version
  • wheezy php update vestacp 5 6
  • install vestacp php5 6
  • install php 5 on vestacp
  • https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1838 I-Bcw487yHAX32yqFhxuemkuZNWBig7s8TrrAeNr3sR4Fr1wdtBRVNt_n1C23K2d a2fede5ac58c900492fe47bfb66c378f12cb186c&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme
  • https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1832 CqfsnGMjd27Je_huQq6NSQq6tS6YCF_JCM9tZp91KOypW-BCi_dnzckCJWR_eepf c8d981c3878b81563fdaa94f0090bf98197bb1cc&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme

1 comment

Leave a Reply