博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
查看Nginx,Apache,lighttpd,Mysql,Php的编译参数
阅读量:6923 次
发布时间:2019-06-27

本文共 3336 字,大约阅读时间需要 11 分钟。

   查看一些常见服务的在编译安装时的参数: 

1.Nginx 编译安装时的参数
[root@test ~]# /usr/local/nginx/sbin/nginx -V
nginx version: nginx/0.7.65
built by gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
TLS SNI support disabled
configure arguments: --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --with-pcre=/software/pcre-8.01
2.PHP编译安装时的参数
[root@test ~]# /usr/local/php/bin/php -i |grep config
Configure Command =>  './configure'  '--prefix=/usr/local/php' '--with-config-file-path=/usr/local/php/etc' '--with-mysql=/usr/local/mysql' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-iconv-dir=/usr/local/env/libiconv' '--with-freetype-dir=/usr/local/env/freetype' '--with-jpeg-dir=/usr/local/env/jpeg' '--with-png-dir=/usr' '--with-zlib' '--with-libxml-dir=/usr/local/env/libxml2' '--with-gettext=/usr/local/env/gettext' '--enable-xml' '--enable-shmop' '--enable-inline-optimization' '--enable-exif' '--with-curl=/usr/local/env/curl' '--with-curlwrappers' '--enable-mbregex' '--enable-fastcgi' '--enable-fpm' '--enable-force-cgi-redirect' '--enable-mbstring' '--with-mcrypt=/usr/local/env/libmcrypt' '--with-gd=/usr/local/env/gd' '--enable-gd-native-ttf' '--with-openssl=/usr/local/env/openssl' '--with-mhash=/usr' '--enable-pcntl' '--enable-sockets' '--enable-soap'
3.Mysql编译安装时的参数
[root@test ~]# cat /usr/local/mysql/bin/mysqlbug |grep config
# This is set by configure
CONFIGURE_LINE="./configure '--prefix=/usr/local/mysql' '--enable-assembler' '--with-extra-charsets=complex' '--enable-thread-safe-client' '--with-big-tables' '--with-readline' '--with-ssl' '--with-embedded-server' '--enable-local-infile' '--withplugins=partition,innobase,myisammrg'"
4.apache编译安装时的参数
[root@test ~]# cat /opt/httpd/build/config.nice
#! /bin/sh
#
# Created by configure
"./configure" \
"--prefix=/opt/httpd/" \
"--enable-module=so" \
"--enable-module=rewrite" \
"--enable-shared=rewrite" \
"--enable-shared=max" \
"$@"
5.Lighttpd安装时的编译参数
[root@test ~]lighttpd -V
lighttpd-1.4.20 (ssl) - a light and fast webserver
Build-Date: Jan  6 2009 23:43:45
Event Handlers:
    + select (generic)
    + poll (Unix)
    + rt-signals (Linux 2.4+)
    + epoll (Linux 2.6)
    - /dev/poll (Solaris)
    - kqueue (FreeBSD)
Network handler:
    + sendfile
Features:
    + IPv6 support
    + zlib support
    + bzip2 support
    + crypt support
    + SSL Support
    + PCRE support
    - mySQL support
    - LDAP support
    - memcached support
    + FAM support
    - LUA support
    - xml support
    - SQLite support
    + GDBM support

6.查看Squid的编译参数

[root@WEB01 ~]# /usr/local/squid/sbin/squid -v

--prefix=/usr/local/squid' '--disable-dependency-tracking' '--enable-dlmalloc' '--enable-gnuregex' '--disable-carp' '--enable-async-io=240' '--with-pthreads' '--enable-storeio=ufs,aufs,diskd,null' '--disable-wccp' '--disable-wccpv2' '--enable-kill-parent-hack' '--enable-cachemgr-hostname=localhost' '--enable-default-err-language=Simplify_Chinese' '--with-build-environment=POSIX_V6_ILP32_OFFBIG' '--with-maxfd=65535' '--with-aio' '--disable-poll' '--enable-epoll' '--enable-linux-netfilter' '--enable-large-cache-files' '--disable-ident-lookups' '--enable-default-hostsfile=/etc/hosts' '--with-dl' '--with-large-files' '--enable-removal-policies=heap,lru' '--enable-delay-pools' '--enable-snmp' '--disable-internal-dns'
 

本文转自 sfzhang 51CTO博客,原文链接:http://blog.51cto.com/sfzhang88/863174,如需转载请自行联系原作者
你可能感兴趣的文章
在Exchange Server 2010中管理POP3和IMAP4协议访问
查看>>
Android网络开发框架Retrofit
查看>>
ocp-051-8
查看>>
Linux下安装telnet-server服务
查看>>
安装Exchange 2010
查看>>
一次防CC***案例
查看>>
认识linux的/etc/fstab和/etc/mtab
查看>>
linux磁盘管理
查看>>
pb 循环遍历文件
查看>>
win7下设置计划任务
查看>>
vpp的feature
查看>>
Shell脚本循环语句——for循环
查看>>
linux课后扩展
查看>>
6.python之time模块
查看>>
最近很累,但是精神上更累
查看>>
Java变量和对象的作用域
查看>>
JS设计模式之单体模式(Singleton)
查看>>
does not contain bitcode. You must rebuild it with
查看>>
【java虚拟机系列】java虚拟机系列之JVM总述
查看>>
5G应用价值在哪里?
查看>>