9 Compiling Apache

Whether SSL has been enabled or not, the compilation steps are the same:

# make

If compilation fails, it may be due to missing libraries and/or missing source code from the SSL module above. Please check everything once more if this is the case.

Once compiled and if this Apache build is built with mod_ssl, issue make certificate so that some test certificates can be created.

We may now install Apache by issuing make install. The files should be installed to the location that was specified to the configure script.

One of the advantages of the DSO method, is that once Apache is installed, and we would like to add some more modules to it in the future, the re-install of Apache does not have to occur! Through the aid of /path/to/installed/apache/bin/apxs, one can easily build modules to add in a later time.

Congratulations! Apache has now been installed.