Ad Widget

Collapse

Can I update this zabbix?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • renanrdrigues
    Junior Member
    • Apr 2024
    • 10

    #1

    Can I update this zabbix?

    Someone has updated PHP and it's showing a lot of errors, I'm not an expert in Linux or PHP to try to fix it, but I wanted to know if updating everything could at least work some things that are having problems.


    Zabbix 3.2.7
    PHP 7.2.34
    CentOS 7
    Click image for larger version

Name:	image.png
Views:	83
Size:	35.7 KB
ID:	496752

    Click image for larger version

Name:	{9F9EB730-80B4-4269-BAC5-8F0C4026BDD9}.png
Views:	50
Size:	30.1 KB
ID:	496753​​
  • mrnobody
    Member
    • Oct 2024
    • 61

    #2
    Hiho, houly moly! ;O

    For Zabbix 3.2 the required PHP version is 5.4 or later, but we are in 2025...
    I don't know all release dates, but i think without a time machine or being an Zabbix Dev, the easier solution is unistall any PHP package, reinstall PHP 5.4, restart everything and cross fingers

    Obs.: if you have your Zabbix on VM with backup or snapshot, you can restore it. If you haven't that is the perfect time to think about disaster recovery. Maybe use containers, implement a cluster...

    Hope you can solve this or someone know another way. Good luck!

    Comment

    • renanrdrigues
      Junior Member
      • Apr 2024
      • 10

      #3
      do you have a tutorial on how I can remove php and install it again?

      I have a backup of the VM.

      Comment


      • mrnobody
        mrnobody commented
        Editing a comment
        To list PHP installed packages on CentOS

        #rpm -qa | grep php

        Once you know the php “package(s) name(s)”, remove them

        #rpm -e PackageName

        Tutorial to install PHP 5.4, search for "How To Install PHP 5.4 Using Yum On CentOS 5/6/7?"
    Working...