#23487 [Opn]: imap_open runs too slow

From: Date: Mon, 05 May 2003 13:06:03 +0000
Subject: #23487 [Opn]: imap_open runs too slow
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39071@lists.php.net to get a copy of this message
ID: 23487 User updated by: huangng at yahoo dot com Reported By: huangng at yahoo dot com Status: Open Bug Type: IMAP related Operating System: FreeBSD 4.8 PHP Version: 4.3.1 New Comment: Hi, Dear Friend: I installed PHP 3.1 on FreeBSD 4.8. The config of PHP is: ./configure --with-mysql --with-curl \ --with-apxs=/usr/local/apache/bin/apxs \ --with-mcrypt=/usr/local/include \ --with-imap \ --enable-mbstring The imap is imap-2002b. The mail is qmail + vpopmail + qmailadmin The problem is that it was runing too slow (20 seconds or more) when I run the following code: <? $mbox = imap_open ("{localhost:110/pop3}INBOX", "huangng@tlpsr.com", "huangng"); echo "you have ". imap_num_msg ($mbox); imap_close($mbox); ?> Other codes are not affected. And the qmail runs well. It responed me in one second when I sent and received mails using MS outlook express. Best regards Huang Previous Comments: ------------------------------------------------------------------------ [2003-05-05 04:10:43] huangng at yahoo dot com Hi, Dear Friend: I installed PHP 3.1 on FreeBSD 4.8. The config of PHP is: ./configure --with-mysql --with-curl \ --with-apxs=/usr/local/apache/bin/apxs \ --with-mcrypt=/usr/local/include \ --with-imap \ --enable-mbstring The imap is imap-2002b. The mail is qmail + vpopmail + qmailadmin The problem is that it was runing too slow (20 seconds or more) when I run the following code: <? $mbox = imap_open ("{localhost:110/pop3}INBOX", "huangng@tlpsr.com", "huangng"); echo "you have ". imap_num_msg ($mbox); imap_close($mbox); ?> Other codes are not affected. Best regards Huang ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23487&edit=1

« previous php.bugs (#39071) next »