Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If it's PHP,it can be checked by phpinfo();,

is there anyhow to know the ./configure ... detail of how apache is built?

share|improve this question
Previously answered:… – Warner May 18 '10 at 3:27

if you still have the directory it was compiled in, you can look at the config.log though i'm not sure if apache uses that 'standard', there may be another log file, of sorts, you can try finding it by using grep './configure ' *

i don't know if it will provide you with all you want to know, but it provides you with a /ton/ of information about how your server is configured:

<IfModule mod_info.c>
    # Allow remote server configuration reports, with the URL of
    #  http://servername/server-info (requires that mod_info.c be loaded).
    # Change the "" to match your domain to enable.
    <Location /server-info>
        SetHandler server-info
        Order deny,allow
        Deny from all
        Allow from

you will want to change to your IP address, unless you are doing this from the localhost.

in your apache httpd's configuration file, and then adding mod_info to your loaded modules will allow you to browse to in your browser and see all sorts of configuration details.

share|improve this answer
Agreed - that's about as close to a "correct" answer as I can think of in this instance. – EEAA May 18 '10 at 3:05

Many configure scripts, including the one that comes with apache, have an option for help, try

./configure --help


./configure -h

To see the list of build options.

share|improve this answer
That's not what the OP is asking about. – EEAA May 18 '10 at 2:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.