开发者

How do I get the new version of openssl to display in my phpinfo

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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜