#29934 [NEW]: fsockopen() does not support SSL/TLS with shares OpenSSL extension
| From: | mranner at jawa dot at | Date: | Wed, 01 Sep 2004 17:59:30 +0000 |
| Subject: | #29934 [NEW]: fsockopen() does not support SSL/TLS with shares OpenSSL extension | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-65580@lists.php.net to get a copy of this message | ||
From: mranner at jawa dot at
Operating system: FreeBSD 4.10
PHP version: 4.3.8
PHP Bug Type: OpenSSL related
Bug description: fsockopen() does not support SSL/TLS with shares OpenSSL extension
Description:
------------
fsockopen() does not support SSL/TLS with shared OpenSSL extension. PHP
4.3.8 build from FreeBSD Ports with shared extenstions. Extension is
loaded according phpinfo(). Squirrelmail and other applications cannot use
fsockopen() with tls. I need to compile PHP4 with the static OpenSSL
extension.
Reproduce code:
---------------
$imap_server_address = 'tls://cyrus';
$imap_port = 993;
$imap_stream = fsockopen ( $imap_server_address, $imap_port,
$error_number, $error_string, 15);
Expected result:
----------------
A successful TLS connection.
Actual result:
--------------
Warning: fsockopen(): no SSL support in this build
--
Edit bug report at http://bugs.php.net/?id=29934&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29934&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29934&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29934&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=29934&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29934&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29934&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29934&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29934&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29934&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29934&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29934&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29934&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29934&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29934&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29934&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29934&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29934&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29934&r=float