Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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: serverfault.com/questions/122562/… –  Warner May 18 '10 at 3:27
add comment

2 Answers

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 ".example.com" to match your domain to enable.
    #
    <Location /server-info>
        SetHandler server-info
        Order deny,allow
        Deny from all
        Allow from 127.0.0.1
    </Location>
</IfModule>

you will want to change 127.0.0.1 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 http://example.com/server-info 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
add comment

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

./configure --help

or

./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
add comment

Your Answer

 
discard

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.