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!

Помог ли вам данный ответ? 0 Пользователи нашли это полезным (0 голосов)