⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure.html.en

📁 apache的软件linux版本
💻 EN
📖 第 1 页 / 共 4 页
字号:
<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX              This file is generated from xml source: DO NOT EDIT        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      --><title>configure - Configure the source tree - Apache HTTP Server</title><link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /><link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /><link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link href="../images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="../images/feather.gif" /></div><div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="../images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.0</a> &gt; <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>configure - Configure the source tree</h1><div class="toplang"><p><span>Available Languages: </span><a href="../en/programs/configure.html" title="English">&nbsp;en&nbsp;</a> |<a href="../ko/programs/configure.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p></div>    <p>The <code>configure</code> script configures the source tree    for compiling and installing the Apache HTTP Server on your    particular platform. Various options allow the compilation of a    server corresponding to your personal requirements.</p>    <p>This script, included in the root directory of the source    distribution, is for compilation on Unix and Unix-like systems    only. For other platforms, see the <a href="../platform/">platform</a> documentation.</p> </div><div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">Synopsis</a></li><li><img alt="" src="../images/down.gif" /> <a href="#options">Options</a></li><li><img alt="" src="../images/down.gif" /> <a href="#env">Environment variables</a></li></ul><h3>See also</h3><ul class="seealso"><li><a href="../install.html">Compiling and Installing</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="synopsis" id="synopsis">Synopsis</a></h2>    <p>You should call the <code>configure</code> script from within the    root directory of the distribution.</p>    <p><code><strong>./configure</strong> [<var>OPTION</var>]...    [<var>VAR</var>=<var>VALUE</var>]...</code></p>    <p>To assign environment variables (e.g. <code>CC</code>,    <code>CFLAGS</code> ...), specify them as    <code><var>VAR</var>=<var>VALUE</var></code>. See <a href="#env">below</a>    for descriptions of some of the useful variables.</p></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="options" id="options">Options</a></h2>  <ul>    <li><a href="#configurationoptions">Configuration options</a></li>    <li><a href="#installationdirectories">Installation directories</a></li>    <li><a href="#systemtypes">System types</a></li>    <li><a href="#optionalfeatures">Optional features</a></li>    <li><a href="#supportopt">Options for support programs</a></li>  </ul>  <h3><a name="configurationoptions" id="configurationoptions">Configuration options</a></h3>    <p>The following options influence the behavior of    <code>configure</code> itself.</p>    <dl>      <dt><code>-C</code></dt>      <dt><code>--config-cache</code></dt>      <dd>This is an alias for <code>--cache-file=config.cache</code></dd>      <dt><code>--cache-file=<var>FILE</var></code></dt>      <dd>The test results will be cached in file <var>FILE</var>.        This option is disabled by default.</dd>      <dt><code>-h</code></dt>      <dt><code>--help [short|recursive]</code></dt>      <dd>Output the help and exit. With the argument <code>short</code> only        options specific to this package will displayed. The argument        <code>recursive</code> displays the short help of all the included        packages.</dd>      <dt><code>-n</code></dt>      <dt><code>--no-create</code></dt>      <dd>The <code>configure</code> script is run normally but does        not create output files. This is useful to check the test results        before generating makefiles for compilation.</dd>      <dt><code>-q</code></dt>      <dt><code>--quiet</code></dt>      <dd>Do not print <code>checking ...</code> messages during the        configure process.</dd>      <dt><code>--srcdir=<var>DIR</var></code></dt>      <dd>Defines directory <var>DIR</var> to be the source file directory.        Default is the directory, where configure is located, or the parent        directory <code>..</code>.</dd>      <dt><code>--silent</code></dt>      <dd>Same as <code>--quiet</code></dd>      <dt>-V</dt>      <dt>--version</dt>      <dd>Display copyright information and exit.</dd>    </dl>    <h3><a name="installationdirectories" id="installationdirectories">Installation     directories</a></h3>    <p>These options define the installation directory. The installation      tree depends on the selected layout.</p>    <dl>      <dt><code>--prefix=<var>PREFIX</var></code></dt>      <dd>Install architecture-independent files in <var>PREFIX</var>.        By default the installation directory is set to        <code>/usr/local/apache2</code>.</dd>      <dt><code>--exec-prefix=<var>EPREFIX</var></code></dt>      <dd>Install architecture-dependent files in <var>EPREFIX</var>.        By default the installation directory is set to the        <var>PREFIX</var> directory.</dd>    </dl>    <p>By default, <code>make install</code> will install all the files in      <code>/usr/local/apache2/bin</code>, <code>/usr/local/apache2/lib</code>      etc. You can specify an installation prefix other than      <code>/usr/local/apache2</code> using <code>--prefix</code>,      for instance <code>--prefix=$HOME</code>.</p>    <h4><a name="layout" id="layout">Define a directory layout</a></h4>      <dl>        <dt><code>--enable-layout=<var>LAYOUT</var></code></dt>        <dd>Configure the source code and build scripts to assume an          installation tree based on the layout <var>LAYOUT</var>. This allows          you to separately specify the locations for each type of file within          the Apache HTTP Server installation. The <code>config.layout</code>          file contains several example configurations, and you can also create          your own custom configuration following the examples. The different          layouts in this file are grouped into <code>&lt;Layout            FOO&gt;...&lt;/Layout&gt;</code> sections and referred to by name as          in <code>FOO</code>. The default layout is <code>Apache</code>.</dd>      </dl>        <h4><a name="directoryfinetuning" id="directoryfinetuning">Fine tuning of the installation      directories</a></h4>          <p>For better control of the installation directories, use the options        below. Please note that the directory defaults are set by        <code>autoconf</code> and be overwritten by the corresponding layout        setting.</p>      <dl>                <dt><code>--bindir=<var>DIR</var></code></dt>        <dd>Install user executables in <var>DIR</var>. The user executables          are supporting programs like <code class="program"><a href="../programs/htpasswd.html">htpasswd</a></code>,          <code class="program"><a href="../programs/dbmmanage.html">dbmmanage</a></code>, etc. which are useful for site          administrators. By default <var>DIR</var> is set to          <code><var>EPREFIX</var>/bin</code>.</dd>        <dt><code>--datadir=<var>DIR</var></code></dt>        <dd>Install read-only architecture-independent data in <var>DIR</var>.          By default <code>datadir</code> is set to          <code><var>PREFIX</var>/share</code>. This option is offered by          <code>autoconf</code> and currently unused.</dd>        <dt><code>--includedir=<var>DIR</var></code></dt>        <dd>Install C header files in <var>DIR</var>. By default          <code>includedir</code> is set to          <code><var>EPREFIX</var>/include</code>.</dd>        <dt><code>--infodir=<var>DIR</var></code></dt>        <dd>Install info documentation in <var>DIR</var>.          By default <code>infodir</code> is set to          <code><var>PREFIX</var>/info</code>. This option is currently          unused.</dd>                <dt><code>--libdir=<var>DIR</var></code></dt>        <dd>Install object code libraries in <var>DIR</var>. By default          <code>libdir</code> is set to          <code><var>EPREFIX</var>/lib</code>.</dd>        <dt><code>--libexecdir=<var>DIR</var></code></dt>        <dd>Install the program executables (i.e., shared modules) in          <var>DIR</var>. By default <code>libexecdir</code> is set to          <code><var>EPREFIX</var>/libexec</code>.</dd>        <dt><code>--localstatedir=<var>DIR</var></code></dt>        <dd>Install modifiable single-machine data in <var>DIR</var>.          By default <code>localstatedir</code> is set to          <code><var>PREFIX</var>/var</code>. This option is offered by          <code>autoconf</code> and currently unused.</dd>        <dt><code>--mandir=<var>DIR</var></code></dt>        <dd>Install the man documentation in <var>DIR</var>. By default           <code>mandir</code> is set to          <code><var>EPREFIX</var>/man</code>.</dd>              <dt><code>--oldincludedir=<var>DIR</var></code></dt>        <dd>Install C header files for non-gcc in <var>DIR</var>.          By default <code>oldincludedir</code> is set to          <code>/usr/include</code>. This option is offered by          <code>autoconf</code> and currently unused.</dd>                <dt><code>--sbindir=<var>DIR</var></code></dt>        <dd>Install the system administrator executables in <var>DIR</var>.          Those are server programs like <code class="program"><a href="../programs/httpd.html">httpd</a></code>,          <code class="program"><a href="../programs/apachectl.html">apachectl</a></code>, <code class="program"><a href="../programs/suexec.html">suexec</a></code>, etc. which          are neccessary to run the Apache HTTP Server. By default          <code>sbindir</code> is set to          <code><var>EPREFIX</var>/sbin</code>.</dd>        <dt><code>--sharedstatedir=<var>DIR</var></code></dt>        <dd>Install modifiable architecture-independent data in <var>DIR</var>.          By default <code>sharedstatedir</code> is set to          <code><var>PREFIX</var>/com</code>. This option is offered by          <code>autoconf</code> and currently unused.</dd>        <dt><code>--sysconfdir=<var>DIR</var></code></dt>        <dd>Install read-only single-machine data like the server configuration          files <code>httpd.conf</code>, <code>mime.types</code>, etc. in          <var>DIR</var>. By default <code>sysconfdir</code> is set to          <code><var>PREFIX</var>/etc</code>.</dd>      </dl>            

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -