今天晚上把Apache2.2.4编译了一遍又一遍,颇有味道。若有同好者,请看此文。
- apr.
 apr=Apache portable runtime, official website here: http://apr.apache.org
 View Informations:
    C++代码
  
  
  - # path/to/httpd/bin/httpd -V
It will show something like this:
    C++代码
  
  
  - Server version: Apache/2.2.4 (UNIX/EAXI.COM)
- Server built: Aug 22 2007 12:28:35
- Server’s Module Magic Number: 20051115:4
- Server loaded: APR 1.2.8-dev, APR-Util 1.2.8
- Compiled using: APR 1.2.8-dev, APR-Util 1.2.8
- Architecture: 32-bit
- Server MPM: Prefork
- threaded: no
- forked: yes (variable process count)
- Server compiled with….
- -D APACHE_MPM_DIR="server/mpm/prefork"
- -D APR_HAS_SENDFILE
- -D APR_HAS_MMAP
- -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
- -D APR_USE_SYSVSEM_SERIALIZE
- -D APR_USE_PTHREAD_SERIALIZE
- -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
- -D APR_HAS_OTHER_CHILD
- -D AP_HAVE_RELIABLE_PIPED_LOGS
- -D DYNAMIC_MODULE_LIMIT=128
- -D HTTPD_ROOT="/usr/local//httpd/"
- -D SUEXEC_BIN="/usr/local//httpd//bin/suexec"
- -D DEFAULT_PIDLOG="logs/httpd.pid"
- -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
- -D DEFAULT_LOCKFILE="logs/accept.lock"
- -D DEFAULT_ERRORLOG="logs/error_log"
- -D AP_TYPES_CONFIG_FILE="conf/mime.types"
- -D SERVER_CONFIG_FILE="conf/httpd.conf"
apr version informations at: path/to/httpd-src/srclib/apr/include/apr_version.h
- Operating System Information 
 It will be displayed at error pages, httpd -V informations list.
 os info at path/to/httpd-src/os/
- Apache release 
 It will be displayed at error pages, httpd -V informations list.
 Apache release informations defined at path/to/httpd-src/include/ap_release.h