Ad Widget

Collapse

PHP upgrade for zabbix 5.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • markfree
    Senior Member
    • Apr 2019
    • 868

    #1

    PHP upgrade for zabbix 5.0

    I'm looking to update a Zabbix 4.4 to a Zabbix 5.0 with a CentOS 7, so...

    I was trying out PHP7 upgrade guide at Zabbix documentation and got stuck at some point.
    The doc says to enable PHP 7.2 dependencies by installing PHP packages from Red Hat Software Collections:
    Code:
    # yum install centos-release-scl
    Package centos-release-scl-2-3.el7.centos.noarch already installed and latest version
    Nothing to do
    I did that, but it was installed already.
    Then I followed to list the new php7 packages, but it could not find any.
    Code:
    # yum list rh-php7\*
    Error: No matching Packages to list
    Any idea how to update that PHP?
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Make sure the settings in the centos-sclo-rh section in /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo are enabled.

    Code:
    [centos-sclo-rh]
    name=CentOS-7 - SCLo rh
    #baseurl=http://mirror.centos.org/centos/7/sclo/$basearch/rh/
    mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=7&rep o=sclo-rh
    gpgcheck=1
    enabled=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo

    Comment

    Working...