[CentOS] advice on having php 5.2.x:

Thu Feb 9 05:33:42 UTC 2012
Mihamina Rakotomandimby <mihamina at rktmb.org>

Hi all,

My goal is to have PHP 5.2.x on a centos virtual machine (LXC)
Looking at the repositories:
- 6.2 has php 5.3:
ftp://ftp.free.fr/mirrors/ftp.centos.org/6.2/updates/i386/drpms/
- 5.7 has php 5.1
ftp://ftp.free.fr/mirrors/ftp.centos.org/5.7/updates/i386/RPMS/


I'll have to rebuild a source RPM in order to have what I want:
- Which base should I install for a php 5.2 VM? 6.2 or 5.7?
- Which release of CentOS had a php 5.2 source rpm that I could just 
rebuild without too much extra patching?


Thank you all.

Side note:
For legacy projects, I'll also have to have a php 4, but there, no 
problem: ftp://ftp.free.fr/mirrors/ftp.centos.org/4.9/updates/i386/RPMS/ 
has a php 4.3.9, so, no problem.
The machines are simply development machines, on the LAN, in order to 
keep (very) old projects running if we ever have to get back on them. 
These are not for public or production use.

-- 
RMA.