Hello,

I'm trying to open a ssl:// connection using fsockopen, and where it used to work, it now gives:

Warning: fsockopen(): SSL: Connection reset by peer in .. on line 242

Warning: fsockopen(): php_stream_sock_ssl_activate_with_method: SSL handshake/connection failed in /... on line 242

Warning: fsockopen(): failed to activate SSL mode 1 in /...on line 242
115 Operation now in progress

Any ideas?

    from manual [man]fsockopen[/man]:

    As of PHP 4.3.0, if you have compiled in OpenSSL support, you may prefix the hostname with either 'ssl://' or 'tls://' to use an SSL or TLS client connection over TCP/IP to connect to the remote host

    So using 4.3.0 or later PHP?
    Compiled OpenSSL support?

      Yes PHP 4.3.7, OpenSSL support compiled.

        Write a Reply...