]> granicus.if.org Git - apache/blob - INSTALL
xforms
[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.5/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             * Consider if you want to use a previously installed APR and
21               APR-Util (such as those provided with many OSes) or if
22               you need to use the APR and APR-Util from the
23               httpd-2.5.x-deps.tar.gz tarball via ./configure's
24               --with-included-apr option. This is required if you don't
25               have the compiler which the system APR was built with.  It
26               can also be advantageous if you are a developer who will be
27               linking your code with Apache or using a debugger to step
28               through server code, as it removes the possibility of
29               version or compile-option mismatches with APR and APR-util
30               code.
31
32             * If you are a developer building Apache directly from
33               Subversion, you will need to run ./buildconf before running
34               configure. This script bootstraps the build environment and
35               requires Python as well as GNU autoconf and libtool. If you
36               build Apache from a release tarball, you don't have to run
37               buildconf.
38
39             * If you want to build a threaded MPM (for instance worker)
40               on  FreeBSD, be aware that threads do not work well with
41               Apache on FreeBSD versions before 5.4-RELEASE. If you wish
42               to try a threaded Apache on an earlier version of FreeBSD,
43               use the --enable-threads parameter to ./configure in
44               addition to the --with-mpm parameter.
45
46             * If you are building directly from Subversion on Mac OS X
47               (Darwin), make sure to use GNU Libtool 1.4.2 or newer. All
48               recent versions of the developer tools on this platform
49               include a sufficiently recent version of GNU Libtool (named
50               glibtool, but buildconf knows where to find it).
51
52   For a short impression of what possibilities you have, here is a
53   typical example which configures Apache for the installation tree
54   /sw/pkg/apache with a particular compiler and flags plus the two
55   additional modules mod_rewrite and mod_speling for later loading
56   through the DSO mechanism:
57
58      $ CC="pgcc" CFLAGS="-O2" \
59      ./configure --prefix=/sw/pkg/apache \
60      --enable-rewrite=shared \
61      --enable-speling=shared 
62
63   The easiest way to find all of the configuration flags for Apache 2.5
64   is to run ./configure --help.
65
66
67   Quick Start - Windows
68   ---------------------
69
70   For complete documentation, see manual/platform/windows.html.en or
71   http://httpd.apache.org/docs/2.5/platform/windows.html.
72
73   The Apache/Win32 binaries are distributed as Windows Installer packages 
74   (.msi) named httpd-2.5.xx-win32-x86-no_ssl.msi for a version without mod_ssl
75   and httpd-2.5.xx-win32-x86-openssl-1.0.1x.msi for a version including the
76   mod_ssl plus the openssl library and command line utility.  Additional 64 bit
77   binaries have similarly named -win64-x64 package names.  These packages
78   may be unpacked without "installing" them by using the msiexec /a option.
79
80   If you have unpacked a source distribution (named httpd-2.5.x-win32-src.zip, 
81   without any -x86 or -x64 notation) you must compile the package yourself, 
82   see the links mentioned above.  Unless you intended to do this, please look
83   again for an .msi package in http://www.apache.org/dist/httpd/binaries/win32/
84   and install that desired .msi package.
85
86   The .msi package configures the httpd.conf file, and installs and starts 
87   the Apache2.x service for you.  It also installs plenty of useful shortcuts
88   and the taskbar ApacheMonitor.  We strongly encourage you to use it.
89
90
91   Postscript
92   ----------
93
94   The Apache HTTP Server group cannot field user's installation questions.
95   There are many valuable forums to help you get started.  Please refer your
96   questions to the appropriate forum, such as the Users Mailing List at
97   http://httpd.apache.org/userslist.html or the usenet newsgroups
98   comp.infosystems.www.servers.unix or
99   comp.infosystems.www.servers.ms-windows.
100
101   Thanks for using the Apache HTTP Server, version 2.5.
102
103                                      The Apache Software Foundation
104                                      http://www.apache.org/