← Back to team overview

ius-community team mailing list archive

Re: How to Upgrade IUS PHP?

 

Hello Nicholas,

The easiest way to replace a package is to use the yum-replace package:
  http://wiki.iuscommunity.org/Doc/ClientUsageGuide#Upgrading_Stock_RHEL_Packages_to_IUS_Packages

In your scenario the command would be:
  yum replace php52 --replace-with php53u

yum-replace should take care of removing the php52 packages (rpm) and add in any php53u modules needed,
any custom module built from source or outside yum/rpm will need to be removed and rebuilt against the
latest versions of PHP (php53u in this case)

---
Jeffrey Ness
Linux System Engineer
Infrastructure Services [Development]
Rackspace Hosting

On Mar 1, 2011, at 2:31 PM, NICHOLAS KLINE wrote:

> Hi,
> 
> I was wondering what is the safest way to upgrade IUS PHP 5.2.14 to
> IUS PHP 5.3 Stable? Also, does such an upgrade require that I
> uninstall all custom PHP modules (MDB2, oci8, etc.)? Our server is
> RHEL 5.5 Tikanga x86_64.
> 
> Thanks!
> 
> Nick
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~ius-community
> Post to     : ius-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ius-community
> More help   : https://help.launchpad.net/ListHelp




References