查看Nnginx、Apache、MySQL、PHP安装时的编译参数
[ 2012/04/05 15:19 | by ipaddr ]
1、Nginx
# nginx -V
nginx: nginx version: nginx/1.0.0
nginx: built by gcc 4.1.2 20080704 (Red Hat 4.1.2-50)
nginx: TLS SNI support disabled
nginx: configure arguments: --user=www --group=www --add-module=/opt/ngx_cache --prefix=/opt/nginx --with-http_stub_status_module --with-http_ssl_module
2、PHP
# $PATH/php -r "phpinfo();" | grep configure
3、Apache
# cat /usr/local/apache2/build/config.nice
4、MySQL
# cat /usr/local/mysql/bin/mysqlbug | grep CONFIGURE_LINE
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>