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