方法1:
history 查看你的历史记录
方法2:
利用apache的命令
$ httpd -l
Compiled in modules:
core.c
mod_access.c
mod_log_config.c
mod_setenvif.c
mod_ssl.c
worker.c
http_core.c
mod_mime.c
mod_status.c
mod_asis.c
mod_cgid.c
mod_dir.c
mod_actions.c
mod_alias.c
mod_so.c
$
$ ./httpd -V
Server version: Apache/2.0.55
Server built: Jan 25 2006 11:50:49
Server's Module Magic Number: 20020903:9
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/worker"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_USE_FCNTL_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/local/apache-2.0.55"
-D SUEXEC_BIN="/usr/local/apache-2.0.55/bin/suexec"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
方法3:
如果上次安装后没有make clean的话,在config.nice中可以找到
[[email protected]]# cat /usr/local/apache/build/config.nice
#! /bin/sh
#
# Created by configure
"./configure"
"--prefix=/usr/local/apache2"
"--with-mpm=worker"
"--enable-so"
"--enable-rewrite"
"--enable-vhost-alias"
"--enable-http"
"--enable-mime-magic"
"--enable-ssl"
"--enable-proxy"
"$@"
[[email protected]]#
方法4:
如果你装了php模块的话,用phpinfo看的最详细。
声明: 此文观点不代表本站立场;转载须要保留原文链接;版权疑问请联系我们。