From: (Jan Ehrhardt)
Date:  12 Dec 2012 13:01:47 Hong Kong Time

Re: PHP OpenSSL v0.9.8 compatibility issue with OpenSSL v1.0

NNTP-Posting-Host:  null

Richard Genthner in (Mon, 10 Dec 2012 13:53:16 -0500):
>We have noticed a issue with compatibility with the openssl extension
>distributed with Windows PHP, when connecting to a server with OpenSSL
>WARNING: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
>error:14077458:SSL routines:SSL23_GET_SERVER_HELLO:reason(1112)

Take a look at

This descibes your problem. As far as I know this occurs with every
0.9.8 version above 0.9.8g while connecting to a server with OpenSSL

>Can we get a php_openssl.dll built with openssl 1.0 for php 5.3.19 ?

Try one of these:

8 versions (x86/x64, zts/nts, 5.3.19/5.4.9) all with
OpenSSL 1.0.1c 10 May 2012.