Upgrading PHP to PHP7.0 in a CentOS server with Vesta CP

Latest VestaCP comes with PHP5.6 by default. In this article, we will see how to upgrade PHP to it’s latest version, i.e PHP7.0 First, we need to add the correct REMI repository and enable remi update, remi release and remi-php70 repository. Here’s how [code lang=shell] wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm yum –enablerepo=remi … Continue reading Upgrading PHP to PHP7.0 in a CentOS server with Vesta CP

Upgrading PHP to 5.5 in a CentOS 6 server with Vesta CP

Vesta CP comes with PHP 5.4 by default. If you want to upgrade it to 5.5, follow these steps 1. Stop Apache and Remove current PHP [sourcecode language=”shell”] service httpd stop yum -y remove php [/sourcecode] 2. Add remi repository [sourcecode language=”shell”] #For 32 Bit OS wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm #For … Continue reading Upgrading PHP to 5.5 in a CentOS 6 server with Vesta CP