RE: What is apache compiled with now?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [mailto:justcallmejay@xxxxxxxxx]
Sent: 12 March 2008 16:02
To: users@xxxxxxxxxxxxxxxx
Subject: Re: 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

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                               Version                            Description
+++-==================================-==================================-====================================================================================
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 <cdunigan@xxxxxxxxxxxxx> wrote:

On Wed, 12 Mar 2008, Joshua Slive wrote:

> On Wed, Mar 12, 2008 at 11:46 AM, Jay Why <justcallmejay@xxxxxxxxx> wrote:
>> 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 the
>> 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 Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
Jay Why


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux