ID: 44398
User updated by: cmouse at desteem dot org
Reported By: cmouse at desteem dot org
-Status: Feedback
+Status: Closed
Bug Type: Streams related
Operating System: Windows XP SP 2
PHP Version: 5.2.5
New Comment:
You could make the installer to install all the extensions, or at least
mention somewhere that one has to run the installer again if more
extensions are required. I'll close this bug.
Previous Comments:
------------------------------------------------------------------------
[2008-03-11 21:35:45] [EMAIL PROTECTED]
Did you enable openssl extension?
------------------------------------------------------------------------
[2008-03-10 18:34:48] cmouse at desteem dot org
Description:
------------
Even with php_curl.dll enabled and libeay32.dll and ssleay32.dll in
PATH, PHP does not register ssl:// transport.
Reproduce code:
---------------
<?php
$fp = fsockopen("ssl://www.cacert.org",443);
fclose($fp);
?>
Expected result:
----------------
For it to do just about nothing.
Actual result:
--------------
H:\>php test.php.txt
PHP Warning: fsockopen(): unable to connect to
ssl://www.cacert.org/:443 (Unable to find the socket transport "ssl" -
did you forget to enable it when you configured PHP?) in H:\test.php.txt
on line 3
Warning: fsockopen(): unable to connect to ssl://www.cacert.org/:443
(Unable to find the socket transport "ssl" - did you forget to enable it
when you configured PHP?) in H:\test.php on line 3
PHP Warning: fclose(): supplied argument is not a valid stream
resource in H:\test.php on line 4
Warning: fclose(): supplied argument is not a valid stream resource in
H:\test.php on line 4
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44398&edit=1