Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache 2 upgrade 1

Status
Not open for further replies.

cnlnetworks

IS-IT--Management
Jan 10, 2005
3
US
Hi,
I was wondering if anyone here could help me with something.
I need to upgrade from version 2.0.40 to version 2.0.52.
This is on a Red Hat Linux release 9 (Shrike) box.

Ok say you are going to build apache, one of the things I've always done is run the configure script.
What I am wondering is if there is a way to probe the current install to get a list of the currently complied configure script options?

I need to upgrade this with out bringing it down for long. I can take an educated guess on the options but I have been burned brfore and I don't want to spend all day building with different options tyring to get it right.

Also I would love to use a RPM but I can't seem to find one for version 2.0.52 for Redhat 9. Has anyone seen this RPM anywhere?

Thanks in advance!
Chuck
 
Look in the directory where you compiled the older version for a file called "config.log".

At the top of that file, you should find a record of how configure was invoked for that compile.


Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Thx for the quick responce.
Unfortunatly the version that is on there now was installed by RPM via the Redhat 9 install. It was not build from source so I don't have that file. :-(

Any other Ideas?

Thanks!
 
Not on how to get the compile options. I can give some recommendations on compilation.

If you're running Apache from a RedHat-produced RPM and you want to compile Apache from source and keep the configuration files, etc, where you expect them to be, I strongly recommend using "--enable-layout=RedHat".

With that comment, I generally do something like:

./configure --enable-mods-shared=all --enable-ssl --enable-deflate --enable-layout=RedHat --enable-proxy

You may or may not need the SSL or proxy stuff. "--enable-mods-shared=all" part will compile all modules that come with the tarball, but as DSO modules. You can turn those off as you need.

The most important thing, probably, is making a backup of httpd.conf before you do anything.

Want the best answers? Ask the best questions!

TANSTAAFL!!
 
You may be able to grab the source rpm for fedora and compile it on your redhat box. If not, you can at least extract the SPEC file and see what the compile options were.
 
Thanks for the tips. I didn't know about,
--enable-layout=RedHat
or
--enable-mods-shared=all

These will help. Thanks Again.

Chuck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top