i have this weird combo on my openSSL.
My command prompt openssl version
returns the library version -> OpenSSL 1.0.2h 3 May 2016
where my php curl call -> echo "openssl version text: " . OPENSSL_VERSION_TEXT . "\n";
returns the header version: openssl version text: OpenSSL 1.0.1t 3 May 2016
i wonder how can i updated the OpenSSL Header version as i need 1.0.2 in order for the APNS to work as i'm still getting
HTTP/2 client preface string missing or corrupt. Hex dump for received bytes: 504f5354202f332f6465766963652f613433646466376235
i'm using WAMP Apache/2.4.17 (Win64) PHP/5.6.16
You can solve this issue only by upgrading your PHP version OR you can also reinstall PHP/5.6.16. after that your both Openssl version will be same.
I have also faced this issue and after spending lots of time I found this solution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With