Ad Widget

Collapse

Dependency issue with zabbix-web-mysql 3.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • furso
    Junior Member
    • Jul 2018
    • 3

    #1

    Dependency issue with zabbix-web-mysql 3.4

    Is there a workaround for installing zabbix-web-mysql-3.4.11 on CENTOS 7 with php 7.2.
    For some reason its is wanting an older php 5.4 dependency and not recognizing php 7.2 dependencies.
    Have I missed something.
    Thanks

    Click image for larger version

Name:	zabbix-web.png
Views:	680
Size:	172.2 KB
ID:	363084
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    The official publicly available package is assumed to be installed with the standard package configuration of the OS. You can not install in the PHP 7.2 environment as it is.
    If you want to build an environment using the official package as it is, you will need to install it, ignoring package dependencies.

    After installing the PHP 7.2 packages(php, php-gd, php-bcmath, php-mbstring, php-xml, php-ldap and php-mysqlnd), try installing zabbix-web and zabbix-web-mysql packages by using the rpm command and ignoring dependencies.

    ex.
    Code:
    # wget http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-web-3.4.11-1.el7.noarch.rpm
    # wget http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-web-mysql-3.4.11-1.el7.noarch.rpm
    # rpm -ivh --nodeps zabbix-web-3.4.11-1.el7.noarch.rpm zabbix-web-mysql-3.4.11-1.el7.noarch.rpm
    It is also necessary to set the settings for PHP 7 in the same way as for PHP 5 in the IfModule setting in the file /etc/httpd/conf.d/zabbix.conf.

    Code:
        <IfModule mod_php7.c>
            php_value max_execution_time 300
            php_value memory_limit 128M
            php_value post_max_size 16M
            php_value upload_max_filesize 2M
            php_value max_input_time 300
            php_value always_populate_raw_post_data -1
            php_value date.timezone Europe/Riga
        </IfModule>

    Comment

    • furso
      Junior Member
      • Jul 2018
      • 3

      #3
      Sorry,,, Forgot to thank you for the post.. Everything worked great...Thanks again for the help..

      Comment

      Working...