OpenSSL both enabled and disabled at the same time!
Posted: Tue May 27, 2003 11:28 pm
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 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).