[CentOS] install specific version using yum

Wed Mar 16 08:49:12 UTC 2011
Johnny Hughes <johnny at centos.org>

On 03/15/2011 04:32 PM, Tim Dunphy wrote:
> Hello list!
> 
>  I have been instructed to install very specific version numbers of
> httpd and php on the company web servers. Here's what I've tried so
> far
> 
> [root at ec2-50-17-114-126 ~]# yum install php-5.2.17-1.w5.i386
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>  * addons: yum.singlehop.com
>  * base: mirror.rackspace.com
>  * epel: nas1.itc.virginia.edu
>  * extras: centos.supsec.org
>  * updates: pubmirrors.reflected.net
> Setting up Install Process
> No package php-5.2.17-1.w5.i386 available.
> Error: Nothing to do
> 
> 
> [root at ec2-50-17-114-126 ~]# yum install php-5.2.17-1.w5
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>  * addons: yum.singlehop.com
>  * base: mirror.rackspace.com
>  * epel: nas1.itc.virginia.edu
>  * extras: centos.supsec.org
>  * updates: pubmirrors.reflected.net
> Setting up Install Process
> No package php-5.2.17-1.w5 available.
> Error: Nothing to do
> 
> 
> [root at ec2-50-17-114-126 ~]# yum install php-5.2.17
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>  * addons: yum.singlehop.com
>  * base: mirror.rackspace.com
>  * epel: nas1.itc.virginia.edu
>  * extras: centos.supsec.org
>  * updates: pubmirrors.reflected.net
> Setting up Install Process
> No package php-5.2.17 available.
> 
> 
>  I was wondering if someone would mind sharing the best way to do this?
> 
> thanks!!
> 
> tim
> 

And just for the record, it has already been stated before, however,
there is NO 5.2.17 php in RHEL (and therefore it is also not in CentOS).
 Whoever told you what to install is not familiar with the Red Hat
policy called "backporting":

www.redhat.com/advice/speaks_backport.html

The latest version of php in main RHEL is php-5.1.6-27.el5_5.3.src.rpm.
 There is also a php53-5.3.3-1.el5_6.1.src.rpm.  Those specific packages
are in the 5.6 updates which are in QA testing right now, but there is
php-5.1.6 and php53 in CentOS-5.5 as well.  Anything else is from a 3rd
party repository and may or may not work well with CentOS ... we have no
control over what is or is not in 3rd party repos.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20110316/f72f00da/attachment-0004.sig>