php – 如何解决`configure:error:找不到OpenSSL的`?
发布时间:2020-07-21 12:11:40 所属栏目:PHP 来源:互联网
导读:我试图重新编译 PHP,但./configure失败了: configure: error: Cannot find OpenSSLs evp.h 我有LibSSL 1.0.0,LibSSL 0.9.8,LibSSL-Dev,OpenSSL安装. --with-openssl=/usr/include/openssl 当我尝试时 --with-openssl 告诉我: configure:e
我试图重新编译 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 (编辑:莱芜站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |