httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Edwards" <>
Subject RE: [users@httpd] What is apache compiled with now?
Date Wed, 12 Mar 2008 16:11:51 GMT
You'd want the source package that Ubuntu built their binary .deb from.
Apparently the command is:

apt-get source apache2


On RPM-based distros you'd usually browse to your distro's mirrors,
download the source RPM, 'install' it and look at the .spec file. I'm
guessing the above step is the equivalent for .deb packages - anyone
more familiar with it want to comment?



From: Jay Why [] 
Sent: 12 March 2008 16:02
Subject: Re: [users@httpd] What is apache compiled with now?


ls -l /usr/share/apache2/build/   shows "envvars-std"
Also I don't have 'httpd -l'

I installed apache2 using Synaptic. So I didn't compile it myself. So I
guess to refine my question, how on Ubuntu do I find out what modules
are compiled in? 

Here is some more info
The command dpkg -l apache2* returns

|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
||/ Name                               Version
ii  apache2                            2.2.4-3build1
Next generation, scalable, extendable web server
un  apache2-common                     <none>
(no description available)
un  apache2-doc                        <none>
(no description available)
un  apache2-mpm                        <none>
(no description available)
un  apache2-mpm-event                  <none>
(no description available)
un  apache2-mpm-itk                    <none>
(no description available)
ii  apache2-mpm-prefork                2.2.4-3build1
Traditional model for Apache HTTPD
un  apache2-mpm-worker                 <none>
(no description available)
ii  apache2-utils                      2.2.4-3build1
utility programs for webservers
ii  apache2.2-common                   2.2.4-3build1
Next generation, scalable, extendable web server

On Wed, Mar 12, 2008 at 10:54 AM, Craig Dunigan <>

On Wed, 12 Mar 2008, Joshua Slive wrote:

> On Wed, Mar 12, 2008 at 11:46 AM, Jay Why <>
>> I need to recompile Apache coz I need to add one or two thing.
However, how
>> I find out what flags apache is currently compiled with so I can get
>> headers for those modules/tools and recompile those as well?
> If you are using a recent version, look in the build/ directory of the
> install for the file config.nice, which will contain the exact command
> line that you need.
> Joshua.

And if you didn't save your sources, you can find out what is
statically compiled in with 'httpd -l'.

Craig Dunigan
IS Technical Services Specialist
Middleware - EIS - DoIT
University of Wisconsin, Madison

opinions expressed are my own, not the University's

The official User-To-User support forum of the Apache HTTP Server
See <URL:> for more info.
To unsubscribe, e-mail:
  "   from the digest:
For additional commands, e-mail:

Jay Why 

View raw message