INSTALL revision 39c36cbd2a461e4fe1bdd0a860db587d420445c7
32N/A
32N/A APACHE INSTALLATION OVERVIEW
1339N/A
32N/A Quick Start - Unix
32N/A ------------------
919N/A
919N/A For complete installation documentation, see [ht]docs/manual/install.html or
919N/A http://httpd.apache.org/docs/trunk/install.html
919N/A
919N/A $ ./configure --prefix=PREFIX
919N/A $ make
919N/A $ make install
919N/A $ PREFIX/bin/apachectl start
919N/A
919N/A NOTES: * Replace PREFIX with the filesystem path under which
919N/A Apache should be installed. A typical installation
919N/A might use "/usr/local/apache2" for PREFIX (without the
919N/A quotes).
919N/A
919N/A * If you want to build a threaded MPM (for instance worker)
919N/A on FreeBSD, be aware that threads do not work well with
919N/A Apache on FreeBSD versions before 5.4-RELEASE. If you wish
32N/A to try a threaded Apache on an earlier version of FreeBSD,
32N/A use the --enable-threads parameter to ./configure in
32N/A addition to the --with-mpm parameter.
32N/A
493N/A * If you are a developer building Apache directly from
32N/A Subversion, you will need to run ./buildconf before running
32N/A configure. This script bootstraps the build environment and
1276N/A requires Python as well as GNU autoconf and libtool. If you
32N/A build Apache from a release tarball, you don't have to run
911N/A buildconf.
1276N/A
1276N/A * If you are building directly from Subversion on Mac OS X
911N/A (Darwin), make sure to use GNU Libtool 1.4.2 or newer. All
32N/A recent versions of the developer tools on this platform
32N/A include a sufficiently recent version of GNU Libtool (named
32N/A glibtool, but buildconf knows where to find it).
970N/A
970N/A For a short impression of what possibilities you have, here is a
970N/A typical example which configures Apache for the installation tree
970N/A /sw/pkg/apache with a particular compiler and flags plus the two
1339N/A additional modules mod_rewrite and mod_speling for later loading
1339N/A through the DSO mechanism:
1339N/A
32N/A $ CC="pgcc" CFLAGS="-O2" \
32N/A ./configure --prefix=/sw/pkg/apache \
--enable-rewrite=shared \
--enable-speling=shared
The easiest way to find all of the configuration flags for Apache 2.3
is to run ./configure --help.
Quick Start - Windows
---------------------
For complete documentation, see [ht]docs/manual/platform/windows.html or
http://httpd.apache.org/docs/trunk/platform/windows.html.
The Apache/Win32 binaries are primarily distributed as a Windows Installer
package (.msi), and may be available as a .zip file as well. These packages
are named apache-2.3.xx-win32-x86.msi and apache-2.3.xx-win32-x86.zip.
Please choose the .msi package if at all possible. Note that Apache version
2.3 is a development version and binaries may not be available. Use a
released version from the stable 2.2 branch instead.
If you have unpacked a source distribution (named httpd-2.3-xx.zip, without
any -win32-x86 notation) you must compile the package yourself, see the links
mentioned above. Unless you intended to do this, please look again for the
binary package from http://www.apache.org/dist/httpd/binaries/win32/ and
install that .msi (or .zip package, if you must.)
If you have unpacked this binary distribution from the .zip package, you
_must_ edit the conf/httpd.conf file (with notepad or another text editor)
to reflect the correct ServerName, Domain, and directory paths. Search for
the text "@@" to discover what you must edit. To install and start the
service after you have corrected the httpd.conf file, use the command
bin\Apache -k install
bin\Apache -k start
The .msi package configures the httpd.conf file, and installs and starts
the Apache2 service for you. It also installs plenty of useful shortcuts
and the taskbar ApacheMonitor. We strongly encourage you to use it.
Postscript
----------
The Apache HTTP Server group cannot field user's installation questions.
There are many valuable forums to help you get started. Please refer your
questions to the appropriate forum, such as the Users Mailing List at
http://httpd.apache.org/userslist.html or the usenet newsgroups
comp.infosystems.www.servers.unix or
comp.infosystems.www.servers.ms-windows.
Thanks for using the Apache HTTP Server, version 2.3.
The Apache Software Foundation
http://www.apache.org/