LNMP之编译参数查询

1.nginx编译安装参数查询

 

[root@zhu1 ~]# /opt/nginx/sbin/nginx -V
nginx version: nginx/1.2.8
built by gcc 4.1.2 20080704 (Red Hat 4.1.2-54)
TLS SNI support disabled
configure arguments: --prefix=/opt/nginx --with-poll_module --with-http_gzip_static_module --with-http_ssl_module --with-http_stub_status_module

2.查看mysql数据库编译参数

 

[root@zhu1 ~]# grep CONFIGURE_LINE /opt/mysql/bin/mysqlbug
CONFIGURE_LINE="./configure '--prefix=/opt/mysql' '--with-charset=utf8' '--with-extra-charsets=all' '--with-big-tables' '--with-readline' '--with-ssl' '--with-embedded-server' '--enable-assembler' '--enable-thread-safe-client' '--enable-local-infile'"

3.查看php编译参数

 

[root@zhu1 ~]# /opt/php/bin/php -i| grep configure
Configure Command =>  './configure'  '--prefix=/opt/php' '--with-config-file-path=/opt/php/etc' '--with-mysql=/opt/mysql/' '--with-mysqli=/opt/mysql/bin/mysql_config' '--with-libxml-dir' '--with-gd' '--with-jpeg-dir' '--with-png-dir' '--with-freetype-dir' '--with-iconv-dir' '--with-zlib-dir' '--with-bz2' '--with-openssl' '--with-mcrypt' '--enable-soap' '--enable-sockets' '--enable-gd-native-ttf' '--enable-bcmath' '--enable-mbstring' '--with-gettext' '--enable-fpm' '--enable-fastcgi'

4.查看apache的编译参数

 

你可能感兴趣的:(数据库,mysql,version,support)