查看Nnginx、Apache、MySQL、PHP安装时的编译参数

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

你可能感兴趣的:(休闲,mysql编译参数,apache编译参数,Nginx编译参数,查看php编译参数)