Question
It is required to upgrade the php on the NG node to version 5.5 without using alt-php.
How can this be achieved?
Answer
Following instruction was tested on CloudLinux 6.5:
Create a file
php55.sh
, put the following content in it, make it exectuable withchmod +x php55.sh
, launch it with./php55.sh
:#!/bin/bash -x set -e yum install https://mirror.webtatic.com/yum/el6/latest.rpm -y yum remove php-ioncube-loader -y yum -y install t1lib yum-plugin-replace yum replace php --replace-with php55w -y service httpd restart
- Propagate changes to OA via PCP > Service Nodes > open required node > Apache extensions > Synchronize apache extensions
- Wait until spawned task is complete.
This will install necessary libs and remove obsolete ioncube-loader
module (which is incompatible with PHP >5.3).
Substitute php55w
with php54w
to upgrade to version 5.4.