Ad Widget

Collapse

Install with PHP 5.3 fails

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dstevenson
    Junior Member
    • May 2013
    • 1

    #1

    Install with PHP 5.3 fails

    When I try:

    Code:
    $ yum install zabbix-web-mysql
    I get:

    Code:
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirror.linux.duke.edu
     * epel: mirror.cogentco.com
     * extras: mirror.vcu.edu
     * updates: mirror.anl.gov
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package zabbix-web-mysql.x86_64 0:2.0.6-1.el5 set to be updated
    --> Processing Dependency: zabbix-web = 2.0.6-1.el5 for package: zabbix-web-mysql
    --> Running transaction check
    ---> Package zabbix-web.x86_64 0:2.0.6-1.el5 set to be updated
    --> Processing Dependency: php >= 5.0 for package: zabbix-web
    --> Processing Dependency: php-bcmath for package: zabbix-web
    --> Running transaction check
    ---> Package php.x86_64 0:5.1.6-39.el5_8 set to be updated
    --> Processing Dependency: php-common = 5.1.6-39.el5_8 for package: php
    --> Processing Dependency: php-cli = 5.1.6-39.el5_8 for package: php
    ---> Package php-bcmath.x86_64 0:5.1.6-39.el5_8 set to be updated
    --> Running transaction check
    ---> Package php-cli.x86_64 0:5.1.6-39.el5_8 set to be updated
    ---> Package php-common.x86_64 0:5.1.6-39.el5_8 set to be updated
    --> Processing Conflict: php53-common conflicts php-common
    --> Finished Dependency Resolution
    php53-common-5.3.3-13.el5_8.x86_64 from installed has depsolving problems
      --> php53-common conflicts with php-common
    Error: php53-common conflicts with php-common
     You could try using --skip-broken to work around the problem
     You could try running: package-cleanup --problems
                            package-cleanup --dupes
                            rpm -Va --nofiles --nodigest
    The suggested workarounds don't help. How do I tell the install script to use php53 packages instead of php?
  • gleepwurp
    Senior Member
    • Mar 2014
    • 119

    #2
    I've encountered the same problem today when trying to install zabbix-web-mysql on a Redhat 5.8...

    Posting the solution here for any others having the same problem.

    Here's what fixed it for me:

    1- sudo yum remove php php-common php-cli
    2- sudo yum install php53
    3- sudo yum install zabbix-web-mysql

    Good luck.

    G.

    Comment

    • kloczek
      Senior Member
      • Jun 2006
      • 1771

      #3
      Originally posted by dstevenson
      The suggested workarounds don't help. How do I tell the install script to use php53 packages instead of php?
      This is not zabbix installation failure but php with list of repositories which you are using now.
      Your issue has nothing to do with zabbix installation per se.
      http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
      https://kloczek.wordpress.com/
      zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
      My zabbix templates https://github.com/kloczek/zabbix-templates

      Comment

      Working...