ID: 44398 Updated by: [EMAIL PROTECTED] Reported By: cmouse at desteem dot org -Status: Open +Status: Feedback Bug Type: Streams related Operating System: Windows XP SP 2 PHP Version: 5.2.5 New Comment:
Did you enable openssl extension? Previous Comments: ------------------------------------------------------------------------ [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