更新的问题
老问题
mod_ssl不适用于1.3.41以上版本的Apache吗? 我有版本2.2.17(当前最新)
http://www.modssl.org/
原来的问题
./configure --with-apxs=/usr/local/apache/bin/apxs Configuring mod_ssl/2.8.30 for Apache/1.3.39 ./configure:Error: Installed Apache doesn't contain Extended API (EAPI)
这很奇怪,因为我的Apache版本是2.2.17
/etc/init.d/httpd -v Server version: Apache/2.2.17 (Unix)
不,Apache2包含自己的mod_ssl,编译Apache时可以在configure命令中指定--enable-ssl来编译它。
./configure选项: http : //httpd.apache.org/docs/2.2/programs/configure.html 在solaris上SunOS xxxxxxxxxx5.10 Generic_150400-18 sun4v sparc SUNW,T5240我构build了具有以下function的mod_ssl
bash# apxs -L/path/to/openssl/dir -I/path/to/openssl/dir/include -Wc,-fPIC -i -a -c mod_ssl.c