ID: 29934 Comment by: odip at bionet dot nsc dot ru Reported By: mranner at jawa dot at Status: Bogus Bug Type: OpenSSL related Operating System: FreeBSD 4.10 PHP Version: 4.3.8 New Comment:
See FreeBSD PR: [PATCH] php4 openssl building static http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/72275 Previous Comments: ------------------------------------------------------------------------ [2004-09-01 20:09:33] [EMAIL PROTECTED] Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. It's known, it's been reported (many times) and can't be fixed within the framework of PHP4. PHP5 however abstracts transports out in a way that makes it all work whether OpenSSL is compiled as a shared module or staticly. For PHP4, your only option is to compile the module staticly. To bodge dynamic registration of ssl:// and tls:// transports into PHP4 would represent a major code change which will not happen within a point release. ------------------------------------------------------------------------ [2004-09-01 19:59:29] mranner at jawa dot at 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 this bug report at http://bugs.php.net/?id=29934&edit=1