From: cmouse at desteem dot org Operating system: Windows XP SP 2 PHP version: 5.2.5 PHP Bug Type: Streams related Bug description: ssl:// transport is not registered even when libeay32.dll in PATH
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 bug report at http://bugs.php.net/?id=44398&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44398&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44398&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44398&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44398&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44398&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44398&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44398&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44398&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44398&r=support Expected behavior: http://bugs.php.net/fix.php?id=44398&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44398&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44398&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44398&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44398&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44398&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44398&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44398&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44398&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44398&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44398&r=mysqlcfg