[lug] Upgrading Apache 2.0.40 rpm to 2.0.50 compiled from source

rm at fabula.de rm at fabula.de
Thu Jul 22 03:37:03 MDT 2004


On Wed, Jul 21, 2004 at 06:25:30PM -0600, Scott Herod wrote:
> On Wed, 21 Jul 2004, Bill Thoen wrote:
> 
> > I'm trying to set up the latest version of PHP to plug a recently 
> > discovered security gap, but it complained about my Apache 2.0.40 being 
> > too old (it wants 2.0.44 or higher) I'm using RH 9.0 and this version of 
> > Apache was installed from rpm as part of the 9.0 package. I've now got 
> > Apache ver 2.0.55 source code as a tarball and am ready to build it.
> > 
> > My question is should I unistall the current httpd rpms and just install 
> > the a freshly-compiled new version, or will the new version cleanly 
> > overwrite the old? 
> > 
> > - Bill
> 
> I believe that when you build Apache by hand that by default it wants to 
> go into /usr/local/.  So, in theory (and pretty easily in practice) you 
> could have two different versions running simultaneously.

That's true. I've done it (actually, such a setup is currently running on my
developer box here). One caveat: make sure your path/environments are correct
or you'll experience a lot of strange problems (since /usr/local is often in
the path / library path _before_ /usr you must make sure that the startup
script for the rpm-Apache will pick up the correct libraries (APR had some
issues AFAIK).

 HTH Ralf Mattes


> Scott
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug



More information about the LUG mailing list