安装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成功了。
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号