首页 > 代码库 > 查看nginx.apache.mysql.php squid 编译参数
查看nginx.apache.mysql.php squid 编译参数
查看nginx服务的编译参数
/application/nginx/sbin/nginx -V
[root@mode ~]# /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
查看apache服务的编译参数
cat /application/apache/build/config.nice
[root@mode ~]# cat /application/apache/build/config.nice
#! /bin/sh
#
# Created by configure
"./configure" \
"--prefix=/application/apache2.2.29" \
"$@"
查看mysql数据库的编译参数
grep CONFIGURE_LINE /application/mysql/bin/mysqlbug
或者cat /usr/local/mysql/bin/mysqlbug | grep CONFIGURE_LINE
查看php编译额参数
/application/php/bin/php -i| grep configure
[root@mode ~]# /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‘
查看squid缓存服务器编译参数
/usr/local/suqid/sbin/suqid -v
Squid Cache: Version 2.7.STABLE6
configure options:‘--enabel-delay-pools‘ ‘
查看nginx.apache.mysql.php squid 编译参数