[NTLUG:Discuss] Updating PHP via RPMS...

Alton R. Pouncey, II alton at trainers-r-us.com
Mon Oct 13 14:57:22 CDT 2003


On Mon, 2003-10-13 at 13:38, NTLUG wrote:
> I have a RH7.3 machine w/ PHP, the php version (from RPM is
> php-4.1.2-7.3.6).  I have a short term need for php-4.2.2-8.0.8 which is
> from RH8.0.
> 
> Has anyone put the RH8 PHP Rpms on a RH7.3 machine?  I want to try and
> avoid having to compile, because I don't have a lot of room for dealing
> with problems.
> 

If you can find the source rpm (even for RH 8), you should be able to
download that rpm then do:

rpm --rebuild <php-whatever.src.rpm>

This will rebuild the rpm for your machine and create a new rpm for you
(I forget where the new rpm ends up in the filesystem).  Then you can
just rpm -ivh that new rpm. 

> My next step if no one has done this before, is to install a 7.3
> machine, and try it...
> 
> Thanks,

Alton Pouncey




More information about the Discuss mailing list