]> granicus.if.org Git - apache/blob - INSTALL
dac557f5fb908bc2dee75520f291103e73416735
[apache] / INSTALL
1
2   APACHE INSTALLATION OVERVIEW
3
4   For complete installation documentation, see docs/manual/install.html or
5   http://httpd.apache.org/docs-2.0/install.html
6
7   Quick Start
8   -----------
9
10      $ ./configure --prefix=PREFIX
11      $ make
12      $ make install
13      $ PREFIX/bin/apachectl start
14
15      NOTES: * Replace PREFIX with the filesystem path under which 
16               Apache should be installed.  A typical installation
17               might use "/usr/local/apache2" for PREFIX (without the
18               quotes).
19
20             * If you are building on FreeBSD, be aware that threads will
21               be disabled and the prefork MPM will be used by default,
22               as threads do not work well with Apache on FreeBSD.  If
23               you wish to try a threaded Apache on FreeBSD anyway, use
24               "./configure --enable-threads".
25
26             * If you are a developer building Apache directly from CVS,
27               you will need to run ./buildconf before running configure.
28
29   For a short impression of what possibilities you have, here is a
30   typical example which configures Apache for the installation tree
31   /sw/pkg/apache with a particular compiler and flags plus the two
32   additional modules mod_rewrite and mod_speling for later loading
33   through the DSO mechanism:
34
35      $ CC="pgcc" CFLAGS="-O2" \
36      ./configure --prefix=/sw/pkg/apache \
37      --enable-rewrite=shared \
38      --enable-speling=shared 
39
40   The easiest way to find all of the configuration flags for Apache 2.0
41   is to run ./configure --help.
42
43   Thanks for using the Apache HTTP Server, version 2.0.
44
45                                      The Apache Software Foundation
46                                      http://www.apache.org/
47