Trying to install php-soap (And Failing)

Discussion in 'Web Server' started by Simon Little, Dec 17, 2011.

  1. Simon Little

    Simon Little New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hi there,

    I'm not a novice but I certainly am not an experience Linux user. My comfort zone pretty much extends to making virtual hosts and restarting apache.

    I'm trying to install php-soap, and this is what happens:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    [xxx]$ sudo yum install php-soap


    Loaded plugins: dellsysid, fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirror01.th.ifl.net
    * extras: mirror01.th.ifl.net
    * rpmforge: apt.sw.be
    * updates: mirror01.th.ifl.net
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package php-soap.i386 0:5.1.6-27.el5_5.3 set to be updated
    --> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php-soap
    --> Finished Dependency Resolution
    php-soap-5.1.6-27.el5_5.3.i386 from base has depsolving problems
    --> Missing Dependency: php-common = 5.1.6-27.el5_5.3 is needed by package php -soap-5.1.6-27.el5_5.3.i386 (base)
    Error: Missing Dependency: php-common = 5.1.6-27.el5_5.3 is needed by package ph p-soap-5.1.6-27.el5_5.3.i386 (base)
    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
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    I've tried using skip broken, and package cleanup but that didn't do anything.

    As far as I can tell though the version of Php common I have is the one it's saying it needs.

    The only thing I can think of is that I changed the repo once to upgrade PHP because I use CentOS release 5.4 and they apparently stay deliberately behind. Only thing was I can't remember what I did and didn't really understand fully what I was doing at the time.

    ANy help would be massively appreciated! Cheers
  2. Rob

    Rob Administrator Staff Member

    Messages:
    573
    Likes Received:
    185
    Trophy Points:
    43
    You could use the --enablerepo=xyz (where xyz = the repo you used to install php-common) if you still have the repo files in /etc/yum.repos.d/

    ie:
    [xcode=bash]yum --enablerepo=epel install php-soap[/xcode]
  3. Simon Little

    Simon Little New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    It friggin worked!!!

    Man I owe you one! How, how can I ever repay you????

    * falls at kness
  4. Rob

    Rob Administrator Staff Member

    Messages:
    573
    Likes Received:
    185
    Trophy Points:
    43
    You can spread the word about this forum ;)

Share This Page