如何从0.9.8zg更新OpenSSL版本1.0.2e [英] How to update OpenSSL version from 0.9.8zg to 1.0.2e
问题描述
在我的MacBook Pro与埃尔卡皮坦我的Apache的Apache / 2.4.16(Unix的)与OpenSSL的/ 0.9.8zg,我需要更新到更高版本。我都尝试更新从BREW OpenSSL和构建它。我下载了 rel=\"nofollow\">然后我所做的:
In my MacBook Pro with El Capitan I have Apache Apache/2.4.16 (Unix) with OpenSSL/0.9.8zg which I need to update to a later version. I tried both to update openssl from brew and to build it. I downloaded the last version from here and then I did:
-
./配置darwin64-x86_64的-CC
./Configure darwin64-x86_64-cc
请
请测试
请安装
和一切似乎被罚款,但是当我运行Apache,我看看的phpinfo();
输出我看到使用的版本仍然是的OpenSSL / 0.9.8zg 。
你知道如何解决这一问题?
and everything seems to be fine but when I run Apache and I have a look at phpinfo();
output I see that version used is still OpenSSL/0.9.8zg.
Do you know how to fix this?
推荐答案
好像你已经安装了OpenSSL的新版本,但你不指着它。只是做一个软链接指向你的二进制文件。
我不知道Mac文件系统,但我可以帮你的Linux文件系统。概念是一样的。
It seems like you have installed the new version of openssl but you are not pointing to it. Just make a soft link pointing to your binary file. I am not aware of mac file system but I can help you with linux filesystem. Concept is same.
尝试: -
mv /path/to/current/openssl /home/user
ln -s /path/to/new-openssl-binary/ /path/to/current/openssl
您可以用这个linux命令检查你的路径 whereis的OpenSSL
you can check your path with this linux command whereis openssl
请与 OpenSSL的版本
命令你的OpenSSL版本。
check your openssl version with openssl version
command.
这篇关于如何从0.9.8zg更新OpenSSL版本1.0.2e的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!