Mod_SSL Module not compiled when compiling apache. Install Mod_SSL without recompiling Apache!

Make sure the command "httpd -l" has mod_so in the output or this will fail

cd /usr/local


Download Apache source.
Find out which version you have before downloading by running httpd -v

wget http://mirror.switch.ch/mirror/apache/dist//httpd/httpd-2.4.4.tar.gz
tar -zxvf httpd-2.4.4.tar.gz

cd /usr/local/httpd-2.4.4/modules/ssl
/usr/local/apache2/bin/apxs -i -a -c *.c

It's done

Docs:
http://httpd.apache.org/docs/2.2/programs/apxs.html
http://www.linuxquestions.org/questions/linux-server-73/apache-2-mod_ssl-installation-w-dso-fails-590800/

Mod_SSL Modul nicht reinkompiliert beim komplieren von Apache. Die Lösung:

Wichtig:
Befehl httpd -l muss mod_so in der Ausgabe drin haben, sonst wird das nicht

cd /usr/local


Apache Source runterladen:
Mit httpd -v herausfinden welche Version man herunterladen sollte.

wget http://mirror.switch.ch/mirror/apache/dist//httpd/httpd-2.4.4.tar.gz
tar -zxvf httpd-2.4.4.tar.gz

cd /usr/local/httpd-2.4.4/modules/ssl
/usr/local/apache2/bin/apxs -i -a -c *.c

Voila

Written by Andreas Wildi on Wednesday November 13, 2013
Permalink -

« SSL Configuration on Apache - Installing Cloud9 on your own server »