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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cmouse at desteem dot org
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Thu Dec 26 15:01:32 2024 UTC