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.gzcd /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/
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.gzcd /usr/local/httpd-2.4.4/modules/ssl
/usr/local/apache2/bin/apxs -i -a -c *.c
Voila