To view the compilation parameters of the Nginx service
/application/nginx/sbin/nginx-v
[Email protected] ~]#/application/nginx/sbin/nginx-v
Nginx version:nginx/1.2.1
Built by GCC 4.1.2 20080704 (Red Hat 4.1.2-52)
Configure arguments:--user=nginx--group=nginx--prefix=/application/nginx-1.2.1--with-http_stub_status_module
View compilation parameters for Apache services
Cat/application/apache/build/config.nice
[Email protected] ~]# Cat/application/apache/build/config.nice
#! /bin/sh
#
# Created by Configure
"./configure" \
"--prefix=/application/apache2.2.29" \
"[Email protected]"
View compilation parameters for MySQL database
grep configure_line/application/mysql/bin/mysqlbug
or cat/usr/local/mysql/bin/mysqlbug | grep configure_line
View PHP Compile Amount parameters
/application/php/bin/php-i| grep Configure
[Email protected] ~]#/application/php/bin/php-i| grep Configure
Configure Command = './configure '--prefix=/application/php5.3.10 '--with-apxs2=/application/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 ' '--enable-ftp '--with-libxml-dir '
View Squid cache server compilation parameters
/usr/local/suqid/sbin/suqid-v
Squid cache:version 2.7.stable6
Configure options: '--enabel-delay-pools '
View nginx.apache.mysql.php Squid Compilation parameters