From: Rich Bowen
If you are upgrading from one minor version to the next (for - example, 2.4.8 to 2.4.9), please skip down to the upgrading section.
@@ -55,7 +55,7 @@$ gzip -d httpd-NN.tar.gz
- $ tar xvf httpd-NN.tar
- $ cd httpd-NNThe following requirements exist for building Apache httpd:
+The following requirements exist for building and running Apache httpd:
/httpd_source_tree_root/srclib/apr and /httpd_source_tree_root/srclib/apr-util
(be sure the directory names do not have version numbers; for example,
the APR distribution must be under /httpd_source_tree_root/srclib/apr/) and use
@@ -182,7 +183,7 @@ sudo systemctl restart apache2
--with-pcre parameter. On some platforms,
@@ -191,18 +192,18 @@ sudo systemctl restart apache2
of PCRE.PATH must contain
@@ -211,19 +212,18 @@ sudo systemctl restart apache2
ntpdate or xntpd programs are used for
- this purpose which are based on the Network Time Protocol (NTP).
- See the NTP
+ synchronization facility on your system. Most modern Linux
+ distributions provide systemd-timesyncd or
+ chrony for this purpose. See the NTP
homepage for more details about NTP software and public
time servers.The Apache HTTP Server can be downloaded from the Apache HTTP Server
- download site, which lists several mirrors. Most users of
- Apache on unix-like systems will be better off downloading and
- compiling a source version. The build process (described below) is
- easy, and it allows you to customize your server to suit your needs.
- In addition, binary releases are often not up to date with the latest
- source releases. If you do download a binary, follow the instructions
- in the INSTALL.bindist file inside the distribution.
If you choose to build from source, start by downloading + the source tarball from the Apache HTTP Server + download site. The build process (described below) + allows you to customize your server to suit your + needs.
After downloading, it is important to verify that you have a complete and unmodified version of the Apache HTTP Server. This can be accomplished by testing the downloaded tarball against the - PGP signature. Details on how to do this are available on the download - page and an extended example is available describing the use of - PGP.
+ PGP signature. Details on how to do this are available on the + verification + page.Extracting the source from the Apache HTTP Server tarball is a - simple matter of uncompressing, and then untarring:
+Extract the source from the Apache HTTP Server tarball:
To configure the source tree using all the default options,
- simply type ./configure. To change the default
+ type ./configure. To change the default
options,
--disable-module option. Be careful when
using these options, since In addition, it is sometimes necessary to provide the
Now you can build the various parts which form the Apache
- package by simply running the command:
Have a look at the Apache manual under
PREFIX/docs/manual/ or consult http://httpd.apache.org/docs/&httpd.docs;/ for the most recent
+ href="https://httpd.apache.org/docs/&httpd.docs;/"
+ >https://httpd.apache.org/docs/&httpd.docs;/ for the most recent
version of this manual and a complete reference of available configuration directives.
The first step in upgrading is to read the release announcement
and the file CHANGES in the source distribution to
find any changes that may affect your site. When changing between
- major releases (for example, from 2.0 to 2.2 or from 2.2 to 2.4),
+ major releases (for example, from 2.4 to 2.6),
there will likely be major differences in the compile-time and
run-time configuration that will require manual adjustments. All
modules will also need to be upgraded to accommodate changes in the
module API.
Upgrading from one minor version to the next (for example, from
- 2.2.55 to 2.2.57) is easier. The make install
+ 2.4.66 to 2.4.67) is easier. The make install
process will not overwrite any of your existing documents, log
files, or configuration files. In addition, the developers make
every effort to avoid incompatible changes in the
@@ -469,8 +461,7 @@ $ PREFIX/bin/apachectl -k start
A large number of third parties provide their own packaged distributions of the Apache HTTP Server for installation on particular platforms. This includes the various Linux distributions, - various third-party Windows packages, Mac OS X, Solaris, and many - more.
+ various third-party Windows packages, macOS, and many more.Our software license not only permits, but encourages, this kind of redistribution. However, it does result in a situation where the