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.
精彩评论