View the compilation parameters of Nginx, Apache, lighttpd, Mysql, and Php.

Source: Internet
Author: User
View the parameters of some common services during compilation and installation: 1. Nginx compilation and installation parameters [root @ test ~] #/Usr/local/nginx/sbin/nginx-Vnginxversion: nginx/0.7.65builtbygcc4.1.220080704 (RedHat4.1.2-48) TLSSNIsupportdisabledconfigurearguments :-

View the parameters of some common services during compilation and installation:
1. Nginx compilation and installation parameters
[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-pcre =/software/with-http_gzip_static_module

2. PHP compilation and installation parameters
[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 compilation and installation parameters
[Root @ test ~] #Cat/usr/local/mysql/bin/mysqlbug | grep config
# This is set by configure
CONFIGURE_LINE = ". /configure '-- prefix =/usr/local/mysql ''-- enable-0000er'' -- with-extra-charsets = complex ''-- enable-thread-safe-client'' -- with-big-tables ''-- with-readline'' -- with-ssl ''-- with-embedded-server'' -- enable-local-infile ''-- witplans ugins = partition, innobase, myisammrg '"

4. parameters during apache compilation and installation
[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 compilation parameters during installation
[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. View Squid compilation parameters

[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'

This article from the "simple dream catcher" blog, please be sure to keep this source http://sfzhang88.blog.51cto.com/4995876/863174


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.