#23487 [NEW]: imap_open runs too slow
| From: | huangng at yahoo dot com | Date: | Mon, 05 May 2003 09:10:43 +0000 |
| Subject: | #23487 [NEW]: imap_open runs too slow | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-39062@lists.php.net to get a copy of this message | ||
From: huangng at yahoo dot com
Operating system: FreeBSD 4.8
PHP version: 4.3.1
PHP Bug Type: IMAP related
Bug description: imap_open runs too slow
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 bug report at http://bugs.php.net/?id=23487&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23487&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23487&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23487&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23487&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23487&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23487&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23487&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23487&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23487&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23487&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23487&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23487&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23487&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23487&r=gnused