]> granicus.if.org Git - apache/blob - INSTALL
Correct install script flaw when DBD_LIST is provided by the
[apache] / INSTALL
1
2   APACHE INSTALLATION OVERVIEW
3
4   Quick Start - Unix
5   ------------------
6
7   For complete installation documentation, see [ht]docs/manual/install.html or
8   http://httpd.apache.org/docs/2.3/install.html
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 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.
26
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
32               buildconf.
33
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).
39
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:
45
46      $ CC="pgcc" CFLAGS="-O2" \
47      ./configure --prefix=/sw/pkg/apache \
48      --enable-rewrite=shared \
49      --enable-speling=shared 
50
51   The easiest way to find all of the configuration flags for Apache 2.3
52   is to run ./configure --help.
53
54
55   Quick Start - Windows
56   ---------------------
57
58   For complete documentation, see [ht]docs/manual/platform/windows.html or
59   http://httpd.apache.org/docs/2.3/platform/windows.html.
60
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. 
67
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.)
73
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
79
80     bin\httpd.exe -k install
81     bin\httpd.exe -k start
82
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.
86
87
88   Postscript
89   ----------
90
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.
97
98   Thanks for using the Apache HTTP Server, version 2.3.
99
100                                      The Apache Software Foundation
101                                      http://www.apache.org/