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

12,591

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.

Share:
12,591
MHowey
Author by

MHowey

I'm a website developer for Hostwonderful.com and bad dresser

Updated on June 04, 2022

Comments

  • MHowey
    MHowey almost 2 years

    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