lnmp+lamp編譯後,編譯參數查看

nginx編譯參數查看:

[root@ddapp0 ~]# /Chunbai/app/nginx-0.8.52/sbin/nginx -V
nginx version: nginx/0.8.52
built by gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
TLS SNI support disabled
configure arguments: --user=nginx --group=nginx --add-module=../ngx_cache_purge-1.2 --prefix=/Chunbai/app/nginx-0.8.52 --with-http_stub_status_module --with-http_ssl_module --with-pcre

apache編譯參數查看:

[root@picdata-1-1 build]# cat /usr/local/apache/build/config.nice
#! /bin/sh
#
# Created by configure

"./configure" \
"--prefix=/usr/local/apache2.4.1" \
"--enable-deflate" \
"--enable-expires" \
"--enable-headers" \
"--enable-modules=most" \
"--enable-so" \
"--with-mpm=worker" \
"--enable-rewrite" \
"$@"
[root@picdata-1-1 build]#

php編譯參數查看:

[root@ddapp0 ~]# /Chunbai/app/php-5.2.14/bin/php -i | grep configure
Configure Command =>  './configure'  '--prefix=/Chunbai/app/php-5.2.14' '--libdir=lib64' '--with-libdir=lib64' '--with-openssl' '--with-kerberos' '--enable-mbstring' '--enable-exif' '--enable-calendar' '--with-curl' '--disable-debug' '--enable-inline-optimization' '--with-jpeg-dir=/usr/lib64' '--with-png-dir=/usr/lib64' '--enable-ctype' '--with-bz2' '--with-zlib' '--with-gd' '--with-libxml-dir=/usr/lib64' '--with-gettext' '--enable-force-cgi-redirect' '--with-iconv' '--enable-pcntl' '--enable-gd-native-ttf' '--enable-sockets' '--with-xsl' '--enable-fastcgi' '--with-ldap' '--with-ldap-sasl' '--with-xmlrpc' '--with-config-file-path=/Chunbai/app/php-5.2.14/etc' '--with-mysql=/Chunbai/app/mysql-5.1.51' '--with-mysqli=/Chunbai/app/mysql-5.1.51/bin/mysql_config' '--enable-fpm'
[root@ddapp0 ~]#

mysql編譯參數查看:

[root@ddapp0 ~]# cat /Chunbai/app/mysql-5.1.51/bin/mysqlbug | grep configure
# This is set by configure
CONFIGURE_LINE="./configure  '--with-extra-charsets=utf8' '--prefix=/Chunbai/app/mysql-5.1.51' '--enable-assembler' '--with-big-tables' '--with-readline' '--with-ssl' '--with-embedded-server' '--localstatedir=/Chunbai/app/mysql-5.1.51/data' '--with-unix-socket-path=/Chunbai/app/mysql-5.1.51/mysql.sock' '--sysconfdir=/Chunbai/app/mysql-5.1.51/etc' '--with-charset=utf8' '--enable-thread-safe-client' '--libdir=/Chunbai/app/mysql-5.1.51/lib' '--with-plugins=innobase'"

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章