When I do a phpinfo() I am told this:
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.6g 9 Aug 2002
I attempt to open an SSL socket connection to my custom-made server with this command:
$this->m_socket = fsockopen('ssl://'.$sIp, $iPort, $iErrornumber, $sError, SOCKET_CONNECT_TIMEOUT);
I receive failure, with this message:
Warning: fsockopen(): no SSL support in this build in [points to that line]
So, is OpenSSL enabled or not? What could be wrong?
Win2000 Pro, PHP 4.3.1 under Apache 2.0.45. I compiled Apache2 on this box, with OpenSSL source version 0.9.7b, using MSVS.NET (v7).
OpenSSL both enabled and disabled at the same time!
Moderator: General Moderators
Okay, after wasting many many hours on this problem, a kind soul gave me a hint: It's a known bug in PHP.
Doh!
Here's the link:
http://bugs.php.net/bug.php?id=20014
Apparently, it won't be fixed until PHP5, right around the time that the sun has turned into a lump of frozen coal the size of a walnut.
Doh!
Here's the link:
http://bugs.php.net/bug.php?id=20014
Apparently, it won't be fixed until PHP5, right around the time that the sun has turned into a lump of frozen coal the size of a walnut.