From: jjb at bcc dot com
Operating system: solaris 9
PHP version: 4.3.5RC1
PHP Bug Type: IMAP related
Bug description: imap_open fails when php is built with ssl
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 bug report at http://bugs.php.net/?id=27017&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27017&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27017&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27017&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27017&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27017&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27017&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27017&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27017&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27017&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27017&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27017&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27017&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27017&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27017&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27017&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27017&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27017&r=float