php – 如何解决`configure:error:找不到OpenSSL的`?

我试图重新编译
PHP,但./configure失败了:

configure: error: Cannot find OpenSSL's <evp.h>

我有LibSSL 1.0.0,LibSSL 0.9.8,LibSSL-Dev,OpenSSL安装.

--with-openssl=/usr/include/openssl

当我尝试时

--with-openssl

告诉我:

configure:error:找不到OpenSSL的库

哪个****是问题?

附: Php是5.2.5,OS是Ubuntu

在Ubuntu 12.04.1 LTS上发生了同样的问题,它通过发布:

sudo apt-get install libcurl4-openssl-dev pkg-config

dawei

【声明】:淮南站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。