ID:               27017
 Updated by:       [EMAIL PROTECTED]
 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:

Add this as first line in your script:

error_reporting(E_ALL);

And check what errors you get then.



Previous Comments:
------------------------------------------------------------------------

[2004-01-23 02:10:38] jjb at bcc dot com

this is the configure command for php:

./configure                                     \
        --enable-discard-path                   \
        --enable-force-cgi-redirect             \
        --enable-ftp                            \
        --enable-shared                         \
        --enable-sockets                        \
        --enable-static                         \
        --enable-sysvsem                        \
        --enable-sysvshm                        \
        --enable-track-vars                     \
        --with-apache2                          \
        --with-apxs2=/usr/local/apache2/bin/apxs\
        --with-bz2=/usr/local                   \
        --with-gdbm=/usr/local                  \
        --with-gettext=/usr/local               \
        --with-imap-ssl=/usr/local/ssl          \
        --with-imap=/var/src/mail/imap-2004.RC4 \
        --with-iodbc=/usr/local                 \
        --with-jpeg-dir=/usr/local              \
        --with-ldap=/usr/local/openldap         \
        --with-mysql=/usr/local/mysql           \
        --with-ncurses=/usr/local               \
        --with-openssl=/usr/local/ssl           \
        --with-png-dir=/usr/local               \
        --with-readline                         \
        --with-thread-safe-client               \
        --with-zlib-dir=/usr/local

here's the command to build uw-imap:
make gso PASSWDTYPE=pmb SSLTYPE=unix

------------------------------------------------------------------------

[2004-01-23 02:00:19] [EMAIL PROTECTED]

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..)


------------------------------------------------------------------------

[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

Reply via email to