Below we look at a Linux to see Nginx, Apache, MySQL, php compiler parameters Examples, I hope this example will help you.
View Nginx, Apache, MySQL, PHP parameters we can use
/app/nginx/sbin/nginx-v View Nginx Parameters
# cat Config.nice View Apache parameters
#cat "/usr/local/mysql/bin/mysqlbug" |grep Configure view MySQL parameters
/usr/local/php/bin/php-i |grep Configure view PHP parameters
1. View Nginx Parameters
[Root@361way ~]#/app/nginx/sbin/nginx-v
Nginx:nginx version:nginx/1.2.6
NGINX:TLS SNI Support Disabled
Nginx:configure arguments:--prefix=/app/nginx--with-http_stub_status_module--with-http_ssl_module--with-http_ Gzip_static_module
2. View Apache Parameters
[Root@361way build]# Cat Config.nice
#! /bin/sh
#
# Created by Configure
"./configure"
"--PREFIX=/USR/LOCAL/HTTPD"
"--WITH-APR=/USR/LOCAL/APR"
"--with-apr-util=/usr/local/apr-util"
"--with-pcre"
"--with-mpm=event"
"--enable-rewrite"
"--enable-proxy"
"--with-z"
"--enable-so"
"$@"
3. View MySQL Parameters
[Root@361way Build] #cat "/usr/local/mysql/bin/mysqlbug" |grep Configure
# This are set by configure
Configure_line= "./configure '--prefix=/usr/local/mysql '--localstatedir=/var/lib/mysql '--with-comment=Source ' --with-server-suffix=-h863′ '--with-mysqld-user=mysql '--without-debug '--with-big-tables '--WITH-CHARSET=GBK ' --with-collation=gbk_chinese_ci '--with-extra-charsets=all '--with-pthread '--enable-static '-- Enable-thread-safe-client '--with-client-ldflags=-all-static ' '--with-mysqld-ldflags=-all-static '-- Enable-assembler '--without-isam '--without-innodb '--without-ndb-debug '
4. View PHP Parameters
/usr/local/php/bin/php-i |grep Configure
Configure Command => './configure '--prefix=/usr/local/php '--with-apxs2=/usr/local/apache2/bin/apxs '-- With-config-file-path=/usr/local/php/etc '--with-mysql=/usr/local/mysql '--with-libxml-dir=/usr/local/libxml2/ Bin '--with-gd=/usr/local/gd2′ '--with-jpeg-dir '--with-png-dir '--with-bz2′ '--with-xmlrpc '-- With-freetype-dir '--with-zlib-dir '