Reputation: 15857
I recently ran into an issue with Stripe.com requiring TLS 1.2 for their API.
I attempted to upgrade OpenSSL on the server following the below steps, but afterwards when attempting to run curl_version(), I get this error:
Call to undefined function curl_version()
However, before I attempted this update, CURL was working fine (except for the TLS issue).
This is the process that I followed:
I downloaded the OpenSSL binaries here: https://indy.fulgan.com/SSL/openssl-1.0.2j-x64_86-win64.zip
Stopped IIS Copied libeay32.dll & ssleay32.dll to the PHP folder (where the older versions were located)
Restarted IIS
My System is:
OS: Windows 2008 RS2 64bit
I was hoping I didn't need to compile PHP and reinstall a new version right now.
I appreciate your assistance
Thank You.
Upvotes: 0
Views: 835
Reputation: 15857
After many various attempts, I gave up and just installed a newer version of PHP. I forgot that IIS can have multiple versions of PHP installed, so this turned out to be the best bet and frankly the easiest solution for me.
Upvotes: 2