|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-05-05 04:10 UTC] 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 14:00:01 2025 UTC |
It's OK if I use IP address instead of localhost. $mbox = imap_open ("{61.17.147.25:110/pop3}INBOX", "huangng@tlpsr.com","huangng"); Many thanks.