From: Astrid Malo This document covers compilation and installation of Apache
- on Unix and Unix-like systems only. For compiling and
+ This document covers compilation and installation of the Apache HTTP
+ Server on Unix and Unix-like systems only. For compiling and
installation on Windows, see Using Apache with Microsoft
+ href="platform/windows.html">Using Apache HTTPd with Microsoft
Windows. For other platforms, see the platform documentation. Apache httpd uses Apache HTTPd uses Each section of the compilation and installation process is
described in more detail below, beginning with the requirements
- for compiling and installing Apache httpd.libtool
and autoconf
+ libtool
and autoconf
to create a build environment that looks like many other Open Source
projects.
The following requirements exist for building Apache:
+The following requirements exist for building Apache HTTPd:
apr
and apr-util
are bundled
- with the Apache httpd source releases, and will be used without any
+ with the Apache HTTPd source releases, and will be used without any
problems in almost all circumstances. However, if
apr
or apr-util
, versions 1.0 or 1.1,
are installed on your system, you must either upgrade your
@@ -168,23 +168,25 @@
1.2, or have httpd use seperate builds. To use the bundled
apr
/apr-util
sources for this
purpose you must install them manually:
-The Apache HTTP Server can be downloaded from the Apache HTTP Server
download site, which lists several mirrors. Most users of
- Apache on unix-like systems will be better off downloading and
+ Apache HTTPd on unix-like systems will be better off downloading and
compiling a source version. The build process (described below) is
easy, and it allows you to customize your server to suit your needs.
In addition, binary releases are often not up to date with the latest
@@ -214,13 +216,13 @@ cd ../../ Extracting the source from the Apache HTTPD tarball is a
+ Extracting the source from the Apache HTTPd tarball is a
simple matter of uncompressing, and then untarring: This will create a new directory under the current directory
containing the source code for the distribution. You should
@@ -230,11 +232,11 @@ $ tar xvf httpd-NN.tar
The next step is to configure the Apache source tree for your
+ The next step is to configure the Apache HTTPd source tree for your
particular platform and personal requirements. This is done using
the script The most important option is the location Also at this point, you can specify which features you
- want included in Apache by enabling and disabling modules. Apache comes with a modules. The Apache HTTP Server comes with a Base set of modules included by
default. Other modules are enabled using the
When Now you can build the various parts which form the Apache
+ Now you can build the various parts which form the Apache HTTPd
package by simply running the command: Next, you can customize your Apache HTTP server by editing
+ Next, you can customize your Apache HTTP Server by editing
the configuration files under
Have a look at the Apache manual under Have a look at the Apache HTTP Server manual under docs/manual/ or consult http://httpd.apache.org/docs/&httpd.docs;/ for the most recent
@@ -343,7 +346,7 @@ $ tar xvf httpd-NN.tar
Now you can start your Apache
- HTTP server by immediately running:
-$ tar xvf httpd-NN.tar
-
+ $ tar xvf httpd-NN.tar
+ autoconf
and libtool
installed and will
need to run buildconf
before proceeding with the next
steps. This is not necessary for official releases.)--prefix
- where Apache is to be installed later, because Apache has to be
+ where the Apache HTTP Server is to be installed later, because Apache
+ HTTPd has to be
configured for this location to work correctly. More fine-tuned
control of the location of files is possible with additional configure
@@ -253,8 +256,8 @@ $ tar xvf httpd-NN.tar
--enable-module
option, where
@@ -284,12 +287,12 @@ $ tar xvf httpd-NN.tar
./configure --prefix=/sw/pkg/apache \
--enable-rewrite=shared \
--enable-speling=shared
-PREFIX/conf/
.