发布于 2015-05-21 08:54:57 | 326 次阅读 | 评论: 1 | 来源: PHPERZ

这里有新鲜出炉的精品教程,程序狗速度看过来!

Apache Web服务器

Apache是世界使用排名第一的Web服务器软件。它可以运行在几乎所有广泛使用的计算机平台上,由于其跨平台和安全性被广泛使用,是最流行的Web服务器端软件。


问题描述

刚在编译安装httpd时出现“No recognized SSL/TLS toolkit detected”错误:

[root@server httpd-2.2.22]# ./configure --prefix=/usr/local/apache-2.2.22

--enable-headers

--enable-mime-magic

--enable-proxy

--enable-so

--enable-rewrite

--enable-ssl

--enable-suexec

--with-included-apr

--with-mpm=prefork

--with-ssl=/usr

--disable-userdir

--disable-cgid

--disable-cgi

........................................... .......................................

checking for SSL/TLS toolkit base... /usr

  adding"-I/usr/include"to CPPFLAGS

  adding"-I/usr/include"to INCLUDES

  adding"-L/usr/lib"to LDFLAGS

checking for OpenSSL version... checking openssl/opensslv.h usability... no

checking openssl/opensslv.h presence... no

checking for openssl/opensslv.h... no

checking openssl/ssl.h usability... no

checking openssl/ssl.h presence... no

checking for openssl/ssl.h... no

no OpenSSL headers found

checking for SSL-C version... checking sslc.h usability... no

checking sslc.h presence... no

checking for sslc.h... no

no SSL-C headers found

configure: error: ...No recognized SSL/TLS toolkit detected 

解决办法

安装openssl

[root@server httpd-2.2.22]# yum install openssl* 

再重新编译就没出现错误了

config.status: creating support/log_server_status

config.status: creating support/logresolve.pl

config.status: creating support/phf_abuse_log.cgi

config.status: creating support/split-logfile

config.status: creating build/rules.mk

config.status: creating build/pkg/pkginfo

config.status: creating build/config_vars.sh

config.status: creating include/ap_config_auto.h

config.status: executing default commands



最新网友评论  共有(1)条评论 发布评论 返回顶部
umu 发布于2016-09-07 09:13:37
大赞啊,太好了.
支持(0)  反对(0)  回复

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务