INSTALL revision a72926558ed8449a8b0b9edf6f9f16a4bf3caeb2
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
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley * If you are building on FreeBSD, be aware that threads will
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley be disabled and the prefork MPM will be used by default,
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley as threads do not work well with Apache on FreeBSD. If
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley you wish to try a threaded Apache on FreeBSD anyway, use
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley "./configure --enable-threads".
a72926558ed8449a8b0b9edf6f9f16a4bf3caeb2gregames * If you are building on Mac OS X (Darwin), make sure to
a72926558ed8449a8b0b9edf6f9f16a4bf3caeb2gregames use libtool 1.4.2 or newer.
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley * If you are a developer building Apache directly from CVS,
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley you will need to run ./buildconf before running configure.
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
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley The easiest way to find all of the configuration flags for Apache 2.0
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley is to run ./configure --help.
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe Quick Start - Windows
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe ---------------------
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe For complete documentation, see [ht]docs/manual/platform/windows.html or
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe http://httpd.apache.org/docs-2.0/platform/windows.html.
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe The Apache/Win32 binaries are primarily distributed as a Windows Installer
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe package (.msi), and may be available as a .zip file as well. These packages
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe are named apache-2.0.xx-win32-x86.msi and apache-2.0.xx-win32-x86.zip.
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe Please choose the .msi package if at all possible.
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe If you have unpacked a source distribution (named httpd-2.0-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
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe install that .msi (or .zip package, if you must.)
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe If you have unpacked this binary distribution from the .zip package, you
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe _must_ edit the conf/httpd.conf file (with notepad or another text editor)
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe to reflect the correct ServerName, Domain, and directory paths. Search for
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe the text "@@" to discover what you must edit. To install and start the
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe service after you have corrected the httpd.conf file, use the command
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe bin\Apache -k install
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe bin\Apache -k start
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe The .msi package configures the httpd.conf file, and installs and starts
6f4e1cd73ca28a9876f1a37a6cdfd613eab6ec37wrowe the Apache2 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
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe questions to the appropriate forum, such as the user supported newsgroups
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe comp.infosystems.www.servers.unix and comp.infosystems.www.servers.ms-windows.
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley Thanks for using the Apache HTTP Server, version 2.0.
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley The Apache Software Foundation