INSTALL revision dcddd5fb65d83e8fd29b3528304485f0d3550c3a
1N/A
1N/A APACHE INSTALLATION OVERVIEW
1N/A
1N/A Quick Start - Unix
1N/A ------------------
1N/A
1N/A For complete installation documentation, see [ht]docs/manual/install.html or
1N/A http://httpd.apache.org/docs/2.5/install.html
1N/A
1N/A $ ./configure --prefix=PREFIX
1N/A $ make
1N/A $ make install
1N/A $ PREFIX/bin/apachectl start
1N/A
1N/A NOTES: * Replace PREFIX with the filesystem path under which
1N/A Apache should be installed. A typical installation
1N/A might use "/usr/local/apache2" for PREFIX (without the
1N/A quotes).
1N/A
1N/A * Consider if you want to use a previously installed APR and
1N/A APR-Util (such as those provided with many OSes) or if
1N/A you need to use the APR and APR-Util from the
1N/A httpd-2.5.x-deps.tar.gz tarball via ./configure's
1N/A --with-included-apr option. This is required if you don't
1N/A have the compiler which the system APR was built with. It
1N/A can also be advantageous if you are a developer who will be
1N/A linking your code with Apache or using a debugger to step
1N/A through server code, as it removes the possibility of
1N/A version or compile-option mismatches with APR and APR-util
1N/A code.
1N/A
1N/A * If you are a developer building Apache directly from
1N/A Subversion, you will need to run ./buildconf before running
1N/A configure. This script bootstraps the build environment and
1N/A requires Python as well as GNU autoconf and libtool. If you
1N/A build Apache from a release tarball, you don't have to run
1N/A buildconf.
1N/A
1N/A * If you want to build a threaded MPM (for instance worker)
1N/A on FreeBSD, be aware that threads do not work well with
1N/A Apache on FreeBSD versions before 5.4-RELEASE. If you wish
1N/A to try a threaded Apache on an earlier version of FreeBSD,
1N/A use the --enable-threads parameter to ./configure in
1N/A addition to the --with-mpm parameter.
1N/A
1N/A * If you are building directly from Subversion on Mac OS X
1N/A (Darwin), make sure to use GNU Libtool 1.4.2 or newer. All
1N/A recent versions of the developer tools on this platform
1N/A include a sufficiently recent version of GNU Libtool (named
1N/A glibtool, but buildconf knows where to find it).
1N/A
1N/A For a short impression of what possibilities you have, here is a
1N/A typical example which configures Apache for the installation tree
1N/A /sw/pkg/apache with a particular compiler and flags plus the two
1N/A additional modules mod_rewrite and mod_speling for later loading
1N/A through the DSO mechanism:
1N/A
1N/A $ CC="pgcc" CFLAGS="-O2" \
1N/A ./configure --prefix=/sw/pkg/apache \
1N/A --enable-rewrite=shared \
1N/A --enable-speling=shared
1N/A
1N/A The easiest way to find all of the configuration flags for Apache 2.5
1N/A is to run ./configure --help.
1N/A
1N/A
1N/A Quick Start - Windows
1N/A ---------------------
1N/A
1N/A For complete documentation, see manual/platform/windows.html.en or
1N/A http://httpd.apache.org/docs/2.5/platform/windows.html.
1N/A
1N/A The Apache/Win32 binaries are distributed as Windows Installer packages
1N/A (.msi) named httpd-2.5.xx-win32-x86-no_ssl.msi for a version without mod_ssl
1N/A and httpd-2.5.xx-win32-x86-openssl-1.0.1x.msi for a version including the
1N/A mod_ssl plus the openssl library and command line utility. These packages
1N/A may be unpacked without "installing" them by using the msiexec /a option.
1N/A
1N/A If you have unpacked a source distribution (named httpd-2.5-xx.zip, without
1N/A any -win32-x86 notation) you must compile the package yourself, see the links
1N/A mentioned above. Unless you intended to do this, please look again for the
1N/A binary package from http://www.apache.org/dist/httpd/binaries/win32/ and
1N/A install the desired .msi package.
1N/A
1N/A The .msi package configures the httpd.conf file, and installs and starts
1N/A the Apache2.4 service for you. It also installs plenty of useful shortcuts
1N/A and the taskbar ApacheMonitor. We strongly encourage you to use it.
1N/A
1N/A
1N/A Postscript
1N/A ----------
1N/A
1N/A The Apache HTTP Server group cannot field user's installation questions.
1N/A There are many valuable forums to help you get started. Please refer your
1N/A questions to the appropriate forum, such as the Users Mailing List at
1N/A http://httpd.apache.org/userslist.html or the usenet newsgroups
1N/A comp.infosystems.www.servers.unix or
1N/A comp.infosystems.www.servers.ms-windows.
1N/A
1N/A Thanks for using the Apache HTTP Server, version 2.5.
1N/A
1N/A The Apache Software Foundation
1N/A http://www.apache.org/
1N/A