php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44398 ssl:// transport is not registered even when libeay32.dll in PATH
Submitted: 2008-03-10 18:34 UTC Modified: 2008-03-12 07:54 UTC
From: cmouse at desteem dot org Assigned:
Status: Closed Package: Streams related
PHP Version: 5.2.5 OS: Windows XP SP 2
Private report: No CVE-ID: None
 [2008-03-10 18:34 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-11 21:35 UTC] jani@php.net
Did you enable openssl extension?
 [2008-03-12 07:54 UTC] cmouse at desteem dot org
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 01 00:01:30 2024 UTC