当前位置: 代码迷 >> PHP >> 安装php中出现openssl的异常解决
  详细解决方案

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

热度:132   发布时间:2012-07-24 17:47:58.0
安装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 <debian_patches_disable_SSLv2_for_openssl_1_0_0.patch

OK啦。可以make成功了。
  相关解决方案