日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > 数据库 >内容正文

数据库

查看Nginx,Apache,lighttpd,Mysql,Php的编译参数

發(fā)布時間:2023/12/9 数据库 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 查看Nginx,Apache,lighttpd,Mysql,Php的编译参数 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

?? 查看一些常見服務的在編譯安裝時的參數(shù):
1.Nginx 編譯安裝時的參數(shù)
[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編譯安裝時的參數(shù)
[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編譯安裝時的參數(shù)
[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編譯安裝時的參數(shù)
[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安裝時的編譯參數(shù)

[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的編譯參數(shù)

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

?

總結

以上是生活随笔為你收集整理的查看Nginx,Apache,lighttpd,Mysql,Php的编译参数的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。