[linux]Install mod_ssl.so in apache without rebuild apache

2016-12-12 写技术

1.Find my source code and apxs:
~$locate apxs
/alidata/server/httpd-2.2.29/bin/apxs
...
/home/tmp/sh-1.4.1/httpd-2.2.29/

2.Enter the ssl directory of source code:
cd /home/tmp/sh-1.4.1/httpd-2.2.29/modules/ssl

3.Run apxs:
/alidata/server/httpd-2.2.29/bin/apxs -i -c -a -D HAVE_OPENSSL=1 -I /usr/include/openssl -lcrypto -lssl -ldl *.c

4.It will create mod_ssl.so in /home/tmp/sh-1.4.1/httpd-2.2.29/modules/ssl

标签: linux

发表评论:

Powered by anycle 湘ICP备15001973号-1