#23487 [Bgs]: imap_open runs too slow

From: Date: Tue, 06 May 2003 01:13:38 +0000
Subject: #23487 [Bgs]: imap_open runs too slow
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39126@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: Bogus Bug Type: IMAP related Operating System: FreeBSD 4.8 PHP Version: 4.3.1 New Comment: qmail runs well because I sent and received mails in less than one second using Outlook express. Bill McCoy also reported performance of imap_open was low. Pls see: http://www.mail-archive.com/info-cyrus@lists.andrew.cmu.edu/msg12295.html Many thanks. Previous Comments: ------------------------------------------------------------------------ [2003-05-05 16:27:03] sniper@php.net There is absolutely nothing in PHP side that could cause this. (I can _not_ reproduce this locally) ------------------------------------------------------------------------ [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 (#39126) next »