开发者

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

开发者 https://www.devze.com 2023-04-06 09:08 出处:网络
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 chec

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

精彩评论

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

关注公众号