This works, but SSL-enabled socket connection does not. Will craft a
short script ASAP.

b.


On 22 March 2011 11:37, Richard Quadling <rquadl...@gmail.com> wrote:
> On 22 March 2011 01:21, Bostjan Skufca <bost...@a2o.si> wrote:
>> Hi all,
>>
>> is anyone else experiencing SSL connectivity issues with PHP 5.3(.5|6)?
>> PHP 5.2.17 compiled identically on the same system with the same
>> config file connects to remote SSL-enabled host just fine, whereas PHP
>> 5.3 (only tried .5 and .6) does not. Error message:
>>
>> Warning: stream_socket_client(): SSL operation failed with code 1.
>> OpenSSL Error messages:
>> error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert
>> unexpected message
>> Warning: stream_socket_client(): Failed to enable crypto
>>
>> Any ideas why this is happening?
>>
>> Thanks,
>> b.
>>
>> PS: With all the best efforts towards ditching PHP 5.2 this is a real
>> showstopper.
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
> I'm on Windows. Using 5-3-7-dev (my own build with php_openssl
> statically built rather than as a shared extension).
>
> php -d error_reporting=-1 -d display_errors=1 -r "echo
> file_get_contents('https://mail.google.com/mail');"
>
> and I get the correct content and no errors.
>
> Can you try the above command?
>
> Richard.
>
> --
> Richard Quadling
> Twitter : EE : Zend
> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to