我如何获得的OpenSSL的新版本在我的phpinfo显示 [英] How do I get the new version of openssl to display in my phpinfo
问题描述
我更新今晚我的版本的OpenSSL但phpinfo()函数仍显示旧版本。我重新启动Apache和它仍然显示旧版本。该更新正确地显示,当我检查使用腻子版本
I updated my version of openSSL tonight but the phpinfo() still shows the old version. I restarted Apache and its still showing the old version. The update shows correctly when I check the version using Putty
推荐答案
为了在PHP更新OpenSSL,您将需要重新编译PHP。通过运行相同的配置命令指定前 - 用-的OpenSSL = / usr / include目录
将PHP连接到升级OpenSSL库文件。然后再重新启动Apache,它应该呈现出升级版。你可以尝试只 - 与-的OpenSSL
,如果是在默认的位置之一,将工作。 / usr / include目录也很常见。
In order to update OpenSSL within PHP, you will need to recompile PHP. By running the same configure command as before specifying --with-openssl=/usr/include
it will link PHP to the upgraded OpenSSL library files. Then restart Apache again and it should be showing the upgraded version. You can try just --with-openssl
and if it is in one of the default locations it will work. /usr/include is also common.
这篇关于我如何获得的OpenSSL的新版本在我的phpinfo显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!