#27017 [Opn->Fbk]: imap_open fails when php is built with ssl

From: Date: Fri, 23 Jan 2004 07:00:20 +0000
Subject: #27017 [Opn->Fbk]: imap_open fails when php is built with ssl
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-53789@lists.php.net to get a copy of this message
ID: 27017 Updated by: sniper@php.net Reported By: jjb at bcc dot com -Status: Open +Status: Feedback Bug Type: IMAP related Operating System: solaris 9 PHP Version: 4.3.5RC1 New Comment: What was the FULL configure line? How was the c-client compiled? (mainly I'm interested if you compiled it with SSL support or not..) Previous Comments: ------------------------------------------------------------------------ [2004-01-23 01:53:02] jjb at bcc dot com Description: ------------ imap_open fails: alpha# php /tmp/login.php Warning: imap_open(): Couldn't open stream {localhost:143}INBOX in /tmp/login.php on line 3 Reproduce code: --------------- <?php if($imap = imap_open("{localhost:143}INBOX", "junk", "junk")) { print("OK\n"); } ?> Expected result: ---------------- when i recompile php without this line: --with-imap-ssl=/usr/local/ssl alpha# php /tmp/login.php OK Actual result: -------------- see above. imap is imap-2004.RC4 all my imap client software works connecting to this server, on both ports 143 and 995 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27017&edit=1

« previous php.bugs (#53789) next »