1. apache

文件名为/usr/local/apache/build/config.nice

cat /usr/local/apache/build/config.nice

#! /bin/sh## Created by configure"./configure" \"--prefix=/usr/local/apache-2.2.9" \"--enable-deflate=shared" \"--enable-expires=shared" \"--enable-headers=shared" \"--enable-rewrite=shared" \"--enable-so" \"--enable-modules=most" \"--with-mpm=worker" \"$@"


2. MySQL

文件名为/usr/local/mysql/bin/mysqlbug

grep CONFIGURE_LINE /usr/local/mysql/bin/mysqlbug

CONFIGURE_LINE="./configure  '--prefix=/usr/local/mysql-5.1.60' '--with-unix-socket-path=/usr/local/mysql-5.1.60/tmp/mysql.sock' '--localstatedir=/data' '--enable-assembler' '--enable-thread-safe-client' '--with-mysqld-user=mysql' '--with-big-tables' '--without-debug' '--with-pthread' '--with-extra-charsets=complex' '--with-readline' '--with-ssl' '--with-embedded-serer' '--enable-local-infile' '--with-plugins=partition,innobase' '--with-plugin-PLUGIN' '--with-mysql-ldflags=-all-static' '--with-client-ldflags=-all-static'"


3. php

使用php命令

/usr/local/php-5.2.6/bin/php -i|grep configure

Configure Command =>  './configure'  '--prefix=/usr/local/php-5.2.6' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql=/usr/local/mysql' '--with-xmlrpc' '--with-openssl' '--with-zlib' '--with-freetype-dir' '--with-gd' '--with-jpeg-dir' '--with-png-dir' '--with-iconv=/usr/local/libiconv' '--enable-short-tags' '--enable-sockets' '--enable-zend-multibyte' '--enable-soap' '--enable-mbstring' '--enable-static' '--enable-gd-native-ttf' '--with-curl' '--with-xsl' '--enable-ftp' '--with-libxml-dir'


4. nginx

使用命令nginx -V

nginx -V

nginx version: nginx/1.2.6built by gcc 4.1.2 20080704 (Red Hat 4.1.2-48)TLS SNI support disabledconfigure arguments: --user=nginx --group=nginx --prefix=/usr/local/nginx-1.2.6 --with-http_stub_status_module --with-http_ssl_module