How To upgrade PHP in InterWorx Server

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

rpm -ivh remi-release-6.rpm

CentOS 7

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!

Was this answer helpful? 0 Users Found This Useful (0 Votes)