[PHP] Re: fsockopen, openssl error

2006-01-20 Thread Barry

James Benson wrote:
Im running into the followng error when trying to use fsockopen with the 
openssl extension,




Warning: fsockopen(): php_stream_sock_ssl_activate_with_method: failed 
to create an SSL context


Warning: fsockopen(): failed to activate SSL mode 1

Socket Error: Operation now in progress




Anyone have any clues as to what this may be or why its happening?

Perhaps a compile problem, anyway, I probably will try 4.4.0 because ive 
not made any changes to the script for a few months but have upgraded to 
4.4.2 recently then get this error, very suspicious i think?




James


Seems like he can't start TLS.´

Have you tried a newer version of PHP than 4.4.2?

If so, i would like to know what happened.

Barry

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



[PHP] Re: fsockopen, openssl error

2006-01-20 Thread James Benson

Seems like he can't start TLS.´

Have you tried a newer version of PHP than 4.4.2?

If so, i would like to know what happened.

Barry





Just compiled 5.1.2 and 4.4.1, it happended again with 4.4.1 but not 
with 5.1.2, I dont have time to try 4.4.0 but will do later.



One thing i forgot to say is I have recently switched from fedora core 4 
to ubuntu 5.1, would that make any difference?



BTW, Im using apache 2.2.0, openssl 0.9.8a



Thanks,

James

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



[PHP] Re: fsockopen, openssl error

2006-01-20 Thread Barry

James Benson wrote:

Seems like he can't start TLS.´

Have you tried a newer version of PHP than 4.4.2?

If so, i would like to know what happened.

Barry






Just compiled 5.1.2 and 4.4.1, it happended again with 4.4.1 but not 
with 5.1.2, I dont have time to try 4.4.0 but will do later.



One thing i forgot to say is I have recently switched from fedora core 4 
to ubuntu 5.1, would that make any difference?



BTW, Im using apache 2.2.0, openssl 0.9.8a



Thanks,

James


No doesnt make any difference.

but it really seems that 4.4.2 has some bugs with ssl.
I encounter the same here.

use newer versions. should help then.

Barry

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