On Sunday, 21 בSeptember 2008, David Harel wrote:
> After avoiding RH solutions as much as I could I now have to deal with 
> RHEL 5 Server. My customer insists on PHP-4.2.2 
> but when I try to install it I get:
> # yum install php-4.2.2
> ...
> No package php-4.2.2 available.

As you can easily check, RHEL5 is shipping with php-5.1.6
(ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS)
So obviously no php-4.2.2 is bundled for it.

> # yum install php-4.2.2-17.2.i386.rpm
> Error: Missing Dependency: libcom_err.so.3 is needed by package php
> ...

Pretty obvious, as this is totally different version and have
different dependencies.

Alternatives:
 * Try to rebuild an old php-4.2.2 SRPM against the new RHEL.
   My feeling is that it won't be easy.
   The version gap 4.2.2 <-> 5.1.6 is significant and I'm almost
   sure there is a lot of API breakage between these versions.

 * Make your customer switch to an older platform (older RHEL/Centos
   or an old Debian, etc.) -- This is not a very wise decision (IMO)
   since it is bound to create harder maintenance problems as time
   progresses (new hardware support, other applications etc.)

 * Make your customer switch to a newer php -- while this may be
   hard, it is the best choice on many fronts:
   - There is a big push to drop old php-4.x support. Sticking with
     it will narrow their options down the road.

   - Having important infrastructure package like php sync'ed with
     your distro is very important (security updates etc.)

   - With all the disadvantages of "enterprise" distors, one of the
     biggest advantages is that you have a long term support promise
     for the *provided* software. This means your customer won't have
     to make the same hard decision two years from now (as long as they
     choose to stay with RHEL/Centos 5.x and not upgrade to RHEL-6.x
     which will surely be another hard decision ;-)

There's no silver bullet, but I hope it clarifies the tradeoffs.

-- 
Oron Peled                             Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]                  http://www.actcom.co.il/~oron
Ignore Your Rights And They'll Go Away

================================================================To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to