That code is a stable and new version that releases updates and it pretty much cutting edge for "Enterprise Users".
That being said, the easiest way to get php 5.2.2 would be to rebuild the Fedora 7 SRPM on CentOS-4.5.
(there is also currently a version 5.2.3 of php in the Fedora Development branch)
You can find a close fedora mirror here:
http://mirrors.fedoraproject.org/publiclist/Fedora/7/
I tried to compile the fc7 code and it did not compile on CentOS-4.5 ... there are many things that are too old (PCRE, and it would not even start compiling without using CC=gcc4).
You could figure out how to work around these problems.
Quote
or how to compile existing php
--with-pcre-regex
rather than
'--with-pcre-regex=/usr' '--with-zlib'
--with-pcre-regex
rather than
'--with-pcre-regex=/usr' '--with-zlib'
That might be easier to do ... just download the latest centos SRPM from here:
http://mirror.centos.org/centos/4/centosplus/SRPMS/
Install the SRPM and edit the spec file in your SPECS directory ... and change the configure requirements to what you want then to be and rebuild the SRPM.
Regardless of how you build it, you then become responsible for getting the SRPM and rebuilding it whenever there are updates.







