Upgrade dari PHP 5.4 ke PHP 5.5 VestaCP di Centos 6

Secara default installasi VestaCP di Centos 6 hanya dapat melakukan installasi PHP hingga versi 5.4.x. Untuk dapat melakukan upgrade ke PHP 5.5.x maka harus ditambahkan repositori baru seperti berikut:

# rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
# yum install yum-plugin-replace
# yum replace php-common --replace-with=php55w-common

Setelah itu restart service apache atau php-fpm sesuai dengan yang kita install sebelumnya.

Restart apache:

/etc/init.d/httpd restart

Restart php-fpm:

/etc/init.d/php-fpm restart

Lakukan pengecekan melalui command line dengan perintah berikut:

[root@enzu02 ~]# php -v
PHP 5.5.30 (cli) (built: Oct 16 2015 09:21:15)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
 with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies

Sekian, semoga bermanfaat.

Salam,

Linboxs