Hi, Mates!!!

I have got "no ssl support in this built" message when trying

fsockopen("ssl://loginnet.passport.com", 443, $errno, $errstr, 30);

My config is PHP 4.3.6 running under Apache 1.3/Windows XP.
I have to enable SSL support but I don't really know how.

OpenSSL is enabled.
Sockets are eneabled.

Please, help me with this problem.

Thanks!

Best regards,
Vasilisk

    Check out "alex at renesource dot lv" post in the [man]fsockopen[/man] manual. I think you might need to try that to make it work.

    Also looking further at the docs, it looks like you might be screwed:

    As posted by "johnyu at revolutionhosting dot net"

    It appears with PHP 4.3.2, on windows machines. fsockopen isn't able to use the ssl:// prefix even if you have the OpenSSL dll loaded in php.ini

    On the otherhand, with PHP 4.5 CVS, it looks like SSL support for fsockopen is already compiled in... but it's missing the zip lib which I also need =(

    Have you checked out [man]curl[/man]? I might be an alternative...

      Write a Reply...