Ad Widget

Collapse

web 2.4.3 doesn't recognize php 5.3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tredlightly
    Junior Member
    • Feb 2015
    • 2

    #1

    web 2.4.3 doesn't recognize php 5.3

    I have these requisite rpms installed (under Red Hat 5.7 server):

    $ rpm -qa|grep php
    php53-mbstring-5.3.3-26.el5_11
    php53-mysql-5.3.3-26.el5_11
    php53-cli-5.3.3-26.el5_11
    php53-bcmath-5.3.3-26.el5_11
    php53-pdo-5.3.3-26.el5_11
    php53-gd-5.3.3-26.el5_11
    php53-common-5.3.3-26.el5_11
    php53-xml-5.3.3-26.el5_11
    php53-5.3.3-26.el5_11

    But when attempting to install zabbix web I get this:

    $ sudo rpm -ivh zabbix-web-2.4.3-1.el5.x86_64.rpm zabbix-web-mysql-2.4.3-1.el5.x86_64.rpm
    warning: zabbix-web-2.4.3-1.el5.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 79ea5ed4
    error: Failed dependencies:
    php >= 5.3 is needed by zabbix-web-2.4.3-1.el5.x86_64
  • jan.garaj
    Senior Member
    Zabbix Certified Specialist
    • Jan 2010
    • 506

    #2
    Package php53 != package php defined in package dependency.

    1.) install php* package (not php53*) and then it'll be OK
    OR
    2.) rpm -ivh --nodeps zabbix-web-2.4.3-1.el5.x86_64.rpm zabbix-web-mysql-2.4.3-1.el5.x86_64.rpm
    - it will skip dependencies check, but you have to be sure that all dependencies are installed and configured properly
    Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
    My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant

    Comment

    • tredlightly
      Junior Member
      • Feb 2015
      • 2

      #3
      Thanks, but it appears the Red Hat does not have any php-5.3 or greater packages for RHEL 5.x. It has only php-5.1 and php53-5.3.3.

      I've gone off to compile/build from srouce, but thanks for the pointer.

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        Zabbix is required PHP 5.3.0 or later from Zabbix version 2.2.
        If you use RHEL 5 and official packages, you must use php53.
        Because, Official php package version is 5.1.6 for RHEL 5.

        Requirements:


        I think that depending information is wrong for package zabbix-web-2.4.3-1.el5.x86_64.rpm.

        I checked some package.

        OK zabbix-web-2.4.0-2.el5.x86_64.rpm 06-Oct-2014 22:58
        OK zabbix-web-2.4.1-1.el5.x86_64.rpm 11-Oct-2014 12:11
        OK zabbix-web-2.4.2-1.el5.x86_64.rpm 10-Nov-2014 08:52
        NG zabbix-web-2.4.3-1.el5.x86_64.rpm 17-Dec-2014 19:52
        NG zabbix-web-2.4.4-1.el5.x86_64.rpm 25-Feb-2015 09:50
        NG zabbix-web-2.4.5-1.el5.x86_64.rpm 23-Apr-2015 14:08

        OK zabbix-web-2.2.6-1.el5.x86_64.rpm 28-Aug-2014 09:24
        OK zabbix-web-2.2.7-1.el5.x86_64.rpm 26-Oct-2014 21:47
        NG zabbix-web-2.2.8-1.el5.x86_64.rpm 17-Dec-2014 20:18
        NG zabbix-web-2.2.9-1.el5.x86_64.rpm 15-Mar-2015 12:29

        If you want install NG packages, There is no choice but to ignore the dependencies.

        I ask the improvement of this situation to packager.

        Comment

        Working...