简体   繁体   中英

Broken CURL on Windows 2008 R2 Server

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

PHP Version: 5.3.8

I was hoping I didn't need to compile PHP and reinstall a new version right now.

I appreciate your assistance

Thank You.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM