I'm trying to install composer.phar for a symfony session, but when I do so I have a warning message telling me that I need to update my openssl from 0.9.8 to 1.0.1 or above.
我正在尝试为symfony会话安装composer.phar,但是当我这样做时,我有一条警告消息告诉我需要将openssl从0.9.8更新到1.0.1或更高版本。
I did it, and I end up with
我做到了,我最终得到了
openssl version
returning OpenSSL 1.0.2f 28 Jan 2016
openssl版本返回OpenSSL 1.0.2f 2016年1月28日
and
which openssl
returning /usr/local/bin/openssl
哪个openssl返回/ usr / local / bin / openssl
However I still have the same warning message.
但是我仍然有相同的警告信息。
It looks like php still using the /usr/bin/openssl
instead of /usr/local/bin/openssl
看起来php仍然使用/ usr / bin / openssl而不是/ usr / local / bin / openssl
Any clue on how to make php use the /usr/local/bin/openssl
instead of /usr/bin/openssl
?
有关如何使用/ usr / local / bin / openssl而不是/ usr / bin / openssl的任何线索?
Thanks in advance
提前致谢
1 个解决方案
#1
1
You will need to compile PHP with the "--with-openssl[=DIR]" option by pointing to desired directory.
您需要通过指向所需目录,使用“--with-openssl [= DIR]”选项编译PHP。
I hope this will resolve your issue.
我希望这能解决你的问题。
#1
1
You will need to compile PHP with the "--with-openssl[=DIR]" option by pointing to desired directory.
您需要通过指向所需目录,使用“--with-openssl [= DIR]”选项编译PHP。
I hope this will resolve your issue.
我希望这能解决你的问题。