INSTALLATIONS

How To upgrade PHP in InterWorx Server

upgrade PHP
upgrade PHP Interworx

How To upgrade PHP in InterWorx

You can upgrade PHP in InterWorx using the remi repo. The available PHP versions are PHP 5.4, PHP 5.5, PHP 5.6, PHP 7.0 and PHP 7.1

The remi repo can be installed using following commands.

CentOS 6

 
wget http://rpms.remirepo.net/enterprise/remi-release-6.rpm
rpm -ivh remi-release-6.rpm

CentOS 7

 
wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm
rpm -ivh remi-release-7.rpm

Once it is installed you can upgrade PHP in InterWorx by following commands.

PHP 5.4

 
yum --enablerepo=remi-php54,remi update php\*

PHP 5.5

 
yum --enablerepo=remi-php55,remi update php\*

PHP 5.6

 
yum --enablerepo=remi-php56,remi update php\*

PHP 7.0

 
yum --enablerepo=remi-php70,remi update php\*

PHP 7.1

 
yum --enablerepo=remi-php71,remi update php\*

That’s it!

If you like this post and wish to receive more articles from us, please like our FB page: Grepitout

Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.

For more details on our services, please drop us an E-mail at info@grepitout.com

Topics