Search Engine: Elastic

Article ID: 130583, created on Apr 5, 2017, last review on Aug 30, 2017

  • Applies to:
  • Operations Automation 6.0
  • Operations Automation 5.5
  • APS

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:

  1. Create a file php55.sh, put the following content in it, make it exectuable with chmod +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
    
  2. Propagate changes to OA via PCP > Service Nodes > open required node > Apache extensions > Synchronize apache extensions
  3. 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.

717db81efe94e616312b74fb03a5d474 5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5b048d9bddf8048a00aba7e0bdadef37 2554725ed606193dd9bbce21365bed4e 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF