2 APACHE INSTALLATION OVERVIEW
4 For complete installation documentation, see docs/manual/install.html or
5 http://httpd.apache.org/docs-2.0/install.html
10 $ ./configure --prefix=PREFIX
13 $ PREFIX/bin/apachectl start
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
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".
26 * If you are a developer building Apache directly from CVS,
27 you will need to run ./buildconf before running configure.
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:
35 $ CC="pgcc" CFLAGS="-O2" \
36 ./configure --prefix=/sw/pkg/apache \
37 --enable-rewrite=shared \
38 --enable-speling=shared
40 The easiest way to find all of the configuration flags for Apache 2.0
41 is to run ./configure --help.
43 Thanks for using the Apache HTTP Server, version 2.0.
45 The Apache Software Foundation
46 http://www.apache.org/