Apache 2.4.43 installation and configuration

Moderator: cah

Post Reply
cah
General of the Army / Fleet Admiral / General of the Air Force
General of the Army / Fleet Admiral / General of the Air Force
Posts: 1342
Joined: Sun Aug 17, 2008 5:05 am

Apache 2.4.43 installation and configuration

Post by cah »

I got a request from Medtronic CERG asking me to help set up https for them.

cergdiabetes.medtronic.com used to be non-secure only and it cannot be linked to Yammer and Microsoft Teams.

I finally got some time today (07/14/2020) to work on it.
It is by no means straightforward.
In order for Apache 2.4.43 to work, the following packages were needed to get all to work.

1. libtool-2.4.6

Code: Select all

libtool-2.4.6.tar.gz
wget http://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.gz
tar xzf libtool-2.4.6.tar.gz
cd libtool-2.4.6
configure
make
make install
2. APR-1.7.0

Code: Select all

apr-1.7.0
wget https://mirrors.gigenet.com/apache//apr/apr-1.7.0.tar.gz
tar xzf apr-1.7.0.tar.gz
cd apr-1.7.0
configure
make
make test
make install
3. expat-2.2.9

Code: Select all

wget https://github.com/libexpat/libexpat/releases/download/R_2_2_9/expat-2.2.9.tar.gz
tar xzf expat-2.2.9.tar.gz
cd expat-2.2.9
configure --without-docbook
make
make install
4. APR-util-1.6.1

Code: Select all

wget https://mirrors.koehn.com/apache//apr/apr-util-1.6.1.tar.gz
tar xzf apr-util-1.6.1.tar.gz
cd apr-util-1.6.1
configure --with-apr=/usr/local/apr  ==> needs expat.h
configure --with-apr=/usr/local/apr  --with-expat=builtin
make
make test
make install

5. PCRE 8.44 (not PCRE2)

Code: Select all

wget https://ftp.pcre.org/pub/pcre/pcre-8.44.tar.gz
tar xzf pcre-8.44.tar.gz
cd pcre-8.44
configure
make
make test
make install
6. httpd-2.4.43

Code: Select all

wget http://www.gtlib.gatech.edu/pub/apache//httpd/httpd-2.4.43.tar.gz
tar xzf httpd-2.4.43.tar.gz
cd httpd-2.4.43
configure --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --enable-cgi --enable-so --with-pcre=/usr/local --with-proxy --enable-dav --enable-modules=all
make
make install
7. PHP 7.3.1

Code: Select all

configure --with-apxs2=/usr/local/apache2/bin/apxs CFLAGS=-std=gnu99 --with-pdo-mysql --with-mysqli
make
make install
CAH, The Great
Post Reply