日期:2014-05-17  浏览次数:20791 次

LAMNP 编译安装参数(一)---Apache 安装编译参数

LAMNP 编译安装参数(一)---Apache 安装编译参数
2011年12月11日
  ===========================================================================================================
  
  

  Apache 安装编译参数
  
  

  /configure
  
  

         --prefix=/usr/local/apache2          //指定缺省安装目录
  
  

         --enable-module=so                   //打开 so 模块
  
  

         --enable-deflate=shared              //支持网页压缩
  
  

         --enable-expires=shared              //支持 HTTP 控制
  
  

         --enable-rewrite=shared              //支持 URL 重写
  
  

         --enable-cache                       //支持缓存
  
  

         --enable-file-cache                  //支持文件缓存
  
  

         --enable-mem-cache                   //支持记忆缓存
  
  

         --enable-disk-cache                  //支持磁盘缓存
  
  

         --enable-static-support              //支持静态连接(默认为动态连接)
  
  

         --enable-static-htpasswd             //使用静态连接编译 htpasswd,用于管理基本认证的用户文件
  
  

         --enable-static-htdigest             //使用静态连接编译 htdigest,用于管理摘要认证的用户文件
  
  

         --enable-static-rotatelogs           //使用静态连接编译 rotatelogs
  
  

         --enable-static-logresolve           //使用静态连接编译 logresolve,解析日志中的IP地址为主机名
  
  

         --enable-static-htdbm                //使用静态连接编译 htdbm,操作 DBM 密码数据库
  
  

         --enable-static-ab                   //使用静态连接编译 ab服务器性能测试工具