1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

ART's rpms & using yum to upgrade php...

Discussion in 'Plesk for Linux - 8.x and Older' started by rolo@, Dec 28, 2005.

  1. rolo@

    rolo@ Basic Pleskian

    23
    57%
    Joined:
    Dec 25, 2005
    Messages:
    35
    Likes Received:
    0
    I am happy with my PHP 4.3.11 install that came with my server, except that I need to add support for mcrypt.

    I wanted to recompile PHP using exactly the same options I have right now but adding mcrypt. Reading through the forums I found that this seems to be very complicated to do.

    People often agree that using yum with ART's rpms is the easiest way. I'm not familiar with this method so I've looked through ART website but found no real "newbie" way of doing this.

    Apparently according to ART all his php rpms come with mcrypt upport. Is there a way to use yum to update to a specific version of php?

    How would I go about doing that?

    Thanks!
     
  2. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    If you already have yum installed, edit /etc/yum.conf to look like this:

    [atomic]
    name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
    baseurl=http://3es.atomicrocketturtle.com/atomic/art/$releasever/

    [psa-7.5]
    name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 7.5 RPMS
    baseurl=http://3es.atomicrocketturtle.com/atomic/psa-7.5/$releasever/

    [base]
    name=Atomic Rocket Turtle - $releasever - Base OS RPMS mirror
    baseurl=http://3es.atomicrocketturtle.com/3rd-party/base/$releasever/

    [updates]
    name=Atomic Rocket Turtle - $releasever - OS Update RPMS mirror
    baseurl=http://3es.atomicrocketturtle.com/3rd-party/updates/$releasever/

    Then import ART's GPG-KEY

    #rpm --import RPM-GPG-KEY.art.txt

    Then just do

    #yum update php
     
  3. rolo@

    rolo@ Basic Pleskian

    23
    57%
    Joined:
    Dec 25, 2005
    Messages:
    35
    Likes Received:
    0
    phoenix,

    Thanks for the prompt reply. I just have one more question before I try your solution. How can I know what version I will be upgrading to? Will I be ask to pick one?
     
  4. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    You won't be able to pick, but you will be asked to OK the package (version number included). It will also inform you of any installations it is performing that may be needed to satisfy dependancies.
     
  5. BasicMind

    BasicMind Guest

    0
     
    Hello I've been trying to fix a problem which seems to be leading down the route of upgrading php

    but the
    #rpm --import RPM-GPG-KEY.art.txt
    brings an error
    error: RPM-GPG-KEY.art.txt: import read failed.

    and the upgrade wont work

    any ideas.
     
  6. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
  7. BasicMind

    BasicMind Guest

    0
     
    thanks it worked -- did'nt solve my problem but it worked

    thanks
     
  8. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    Did you try

    #yum install mcrypt
     
  9. BasicMind

    BasicMind Guest

    0
     
    no i did'nt. my problem is that the mail() function wont work in php.
     
  10. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    you want: yum install php-mcrypt
     
  11. BasicMind

    BasicMind Guest

    0
     
    thanks art.

    but unfortunately that did resolve my problem. :(
     
  12. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    Which is what exactly
     
  13. BasicMind

    BasicMind Guest

    0
     
    ooops wrong thread - sorry - my problem is the mail() function wont work in PHP - rolo's was mycrypt - sorry again
     
  14. atrocity

    atrocity Guest

    0
     
    Hello,

    All this do not work for me ...
    I have this :

    rpm -qa php-*

    php-gd-4.3.9-3.18
    php-pear-4.3.9-3.18
    php-imap-4.3.9-3.18
    php-mbstring-4.3.9-3.18
    php-mysql-4.3.9-3.18
    php-ioncube-loader-1.1-rhel4.build060607.14
    php-mcrypt-4.3.9-3.2.1
    php-domxml-4.3.9-3.18

    and need to update php-mcrypt.
    This is not included in the CentOS 4.4 updates :(
    How can i do ?
    Or is there a way to update php-* to 4.4.x ?
    Best regards
    Jean
     
Loading...