2 APACHE INSTALLATION OVERVIEW
7 For complete installation documentation, see [ht]docs/manual/install.html or
8 http://httpd.apache.org/docs/trunk/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 want to build a threaded MPM (for instance worker)
21 on FreeBSD, be aware that threads do not work well with
22 Apache on FreeBSD versions before 5.4-RELEASE. If you wish
23 to try a threaded Apache on an earlier version of FreeBSD,
24 use the --enable-threads parameter to ./configure in
25 addition to the --with-mpm parameter.
27 * If you are a developer building Apache directly from
28 Subversion, you will need to run ./buildconf before running
29 configure. This script bootstraps the build environment and
30 requires Python as well as GNU autoconf and libtool. If you
31 build Apache from a release tarball, you don't have to run
34 * If you are building directly from Subversion on Mac OS X
35 (Darwin), make sure to use GNU Libtool 1.4.2 or newer. All
36 recent versions of the developer tools on this platform
37 include a sufficiently recent version of GNU Libtool (named
38 glibtool, but buildconf knows where to find it).
40 For a short impression of what possibilities you have, here is a
41 typical example which configures Apache for the installation tree
42 /sw/pkg/apache with a particular compiler and flags plus the two
43 additional modules mod_rewrite and mod_speling for later loading
44 through the DSO mechanism:
46 $ CC="pgcc" CFLAGS="-O2" \
47 ./configure --prefix=/sw/pkg/apache \
48 --enable-rewrite=shared \
49 --enable-speling=shared
51 The easiest way to find all of the configuration flags for Apache 2.3
52 is to run ./configure --help.
58 For complete documentation, see [ht]docs/manual/platform/windows.html or
59 http://httpd.apache.org/docs/trunk/platform/windows.html.
61 The Apache/Win32 binaries are primarily distributed as a Windows Installer
62 package (.msi), and may be available as a .zip file as well. These packages
63 are named apache-2.3.xx-win32-x86.msi and apache-2.3.xx-win32-x86.zip.
64 Please choose the .msi package if at all possible. Note that Apache version
65 2.3 is a development version and binaries may not be available. Use a
66 released version from the stable 2.2 branch instead.
68 If you have unpacked a source distribution (named httpd-2.3-xx.zip, without
69 any -win32-x86 notation) you must compile the package yourself, see the links
70 mentioned above. Unless you intended to do this, please look again for the
71 binary package from http://www.apache.org/dist/httpd/binaries/win32/ and
72 install that .msi (or .zip package, if you must.)
74 If you have unpacked this binary distribution from the .zip package, you
75 _must_ edit the conf/httpd.conf file (with notepad or another text editor)
76 to reflect the correct ServerName, Domain, and directory paths. Search for
77 the text "@@" to discover what you must edit. To install and start the
78 service after you have corrected the httpd.conf file, use the command
83 The .msi package configures the httpd.conf file, and installs and starts
84 the Apache2 service for you. It also installs plenty of useful shortcuts
85 and the taskbar ApacheMonitor. We strongly encourage you to use it.
91 The Apache HTTP Server group cannot field user's installation questions.
92 There are many valuable forums to help you get started. Please refer your
93 questions to the appropriate forum, such as the Users Mailing List at
94 http://httpd.apache.org/userslist.html or the usenet newsgroups
95 comp.infosystems.www.servers.unix or
96 comp.infosystems.www.servers.ms-windows.
98 Thanks for using the Apache HTTP Server, version 2.3.
100 The Apache Software Foundation
101 http://www.apache.org/