Chinaunix首页 | 论坛 | 博客
  • 博客访问: 25043
  • 博文数量: 3
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 127
  • 用 户 组: 普通用户
  • 注册时间: 2013-06-26 22:11
文章分类

全部博文(3)

文章存档

2013年(3)

我的朋友

分类: LINUX

2013-06-27 23:19:07



Apache:

查看使用的编译选项:
  1. # cat /usr/local/apache/build/config.nice
  1. #! /bin/sh
  2. #
  3. # Created by configure

  4. ./configure \
  5. "--prefix=/usr/local/apache2" \
  6. "--enable-so" \
  7. "--enable-deflate" \
  8. "--enable-headers" \
  9. "--enable-modules=rewrite" \
  10. "--enable-nonportable-atomics" \
  11. "--enable-expires" \
  12. "$@"


Mysql
查看mysql的版本


  1. [root@localhost ~]# mysql -V
  2. mysql Ver 14.12 Distrib 5.0.51, for redhat-linux-gnu (x86_64) using EditLine wrapper
查看mysql 使用的编译参数:

  1. [root@localhost ~]# cat /usr/local/mysql/bin/mysqlbug | grep config
  2. # This is set by configure
  3. CONFIGURE_LINE="./configure '--prefix=/usr/local/mysql' '--enable-assembler' '--with-mysqld-ldflags=-all-static' '--with-client-ldflags=-all-static' 'CFLAGS=-O3' 'CXXFLAGS=-O3 -felide-constructors -fno-exceptions -fno-rtti -fomit-frame-pointer -ffixed-ebp' 'CXX=gcc' 'CFLAGS= -DDBUG_OFF -O3 ' 'CXXFLAGS= -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti -fomit-frame-pointer -ffixed-ebp -fno-implicit-templates -fno-exceptions -fno-rtti' '--with-extra-charsets=all'"


PHP
查看php的版本信息:

  1. [root@localhost ~]# /usr/local/php/bin/php -v
  2. PHP 5.3.0 (cli) (built: Mar 3 2012 19:39:47)
  3. Copyright (c) 1997-2009 The PHP Group
  4. Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
查看使用的编译参数:

  1. [root@localhost ~]# /usr/local/php/bin/php -i | grep configure
  2. Configure Command => './configure '--prefix=/usr/local/php5' '--with-mysql=/usr/local/mysql' '--with-mysqli=/usr/local/mysql/bin/mysql_config' \
  3.  '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-config-file-path=/usr/local/php5/etc' '--with-gd' '--with-zlib' '--enable-mbstring' '--enable-libxml' \
  4.  '--enable-pdo' '--with-curl' '--with-curlwrappers' '--with-zlib' '--with-imap' '--with-imap-ssl' '--with-openssl' '--enable-bcmath' '--enable-zip' \
  5.  '--with-iconv' '--with-kerberos' '--enable-sockets' '--with-mcrypt' '--with-freetype-dir=/usr/local/freetype' '--with-pcre-regex' '--enable-shared' \
  6.  '--with-jpeg-dir'



阅读(4559) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~