Home >Backend Development >PHP Tutorial > 安装php中出现openssl的异常解决

安装php中出现openssl的异常解决

WBOY
WBOYOriginal
2016-06-13 13:24:491296browse

安装php中出现openssl的错误解决
环境
ubuntu server 11.10

PHP configure通过
但是make 的时候出现
php-5.2.17/ext/openssl/xp_ssl.c:337: undefined reference to `SSLv2_client_method'

这问题网上说是一个BUG。需要打个补丁

下载
disable_SSLv2_for_openssl_1_0_0.patch

拷贝到php-5.2.17/ext/openssl目录中
运行
sudo patch -p3
OK啦。可以make成功了。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn