Ad Widget

Collapse

Zabbix 4.4 rc1 and PHP 7.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mellis
    Senior Member
    • Oct 2017
    • 145

    #1

    Zabbix 4.4 rc1 and PHP 7.2

    I am having dashboard problems when I upgrade a Zabbix 4.4 whenthe server is running php 7.2. I do not have this issue with php 5.4. Has anyone else seen this?
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Since the official version of 4.4.0 has already been released, please use 4.4.0 or later.
    Zabbix 4.4 works fine with PHP 7.2. If you have upgraded from an earlier version of Zabbix, try clearing your browser cache.

    Comment

    • mellis
      Senior Member
      • Oct 2017
      • 145

      #3
      We have updated to the 4.4.1 version of Zabbix, it is running on the 5.4.16 php. Our security team wants us to update to 7.2 When i do this we get errors that php-mysqlnd if not found. So i did a manual update for that one package but now the Zabbix-Web will not reinstall saying it needs php-mysql. I cannot find that anyplace in version 7.2?

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        Zabbix 4.4.3 has already been released.

        What OS are you using? If you use RHEL 7 standard package PHP 5.4.16 on RHEL 7, Red Hat is maintaining it, so security issues are addressed during the support period.
        For example, if you are thinking about using PHP 7.2 on RHEL 7 using remi's yum repository, you need the package php-mysqlnd instead of php-mysql It becomes. If you are using remi, installing php-pecl-mysql together may help.
        I don't know if it was a combination of other distributions, versions, and repositories.

        Comment


        • mellis
          mellis commented
          Editing a comment
          We have to stay on the 4.4.1, I can not do an upgrade on all our proxies, We use the Oracle Linux 7.7, this comes from my legal department.
          I was able to get the php 7.2 to work when the web interface is on the same box as the database, my guess is it is connecting with the .sock file. But when I try to use php 7.2 on a web server with a database on a different server it will not connect..

          I believe my setup is correct, I have the same setup on the server with the Zabbix server and it will connect, I am also see complaints in logs about the php-mysql lib.

        • Atsushi
          Atsushi commented
          Editing a comment
          If you are trying to connect to a socket when connecting to a remote database, your configuration is incorrect. Check the connection information for the database.

        • mellis
          mellis commented
          Editing a comment
          I know I can not use socket to connect to a remote database, I am using the same setup that work with 5.4 php
      Working...