RE: [PHP] too many IMAP ESTABLISH

From: Date: Fri, 08 Dec 2000 10:22:24 +0000
Subject: RE: [PHP] too many IMAP ESTABLISH
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-29315@lists.php.net to get a copy of this message
I presume you're talking about there being a lot of IMAP connections relative to the number of users using your webmail. If that's not the case, let me know :) Each page a user visits that retrieves details from the IMAP server will open a connection to the IMAP server. You need to make sure you're calling imap_close() at the end of each page, otherwise the sockets may just float around for a while. After having done that, unless the number of connections are causing you some sort of problem, don't worry. Cheers, Mark > -----Original Message----- > From: nautilus [mailto:nautilus@titan.seed.net.tw] > Sent: Friday, 8 December 2000 9:15 PM > To: php-general@lists.php.net > Subject: [PHP] too many IMAP ESTABLISH > > > There was a problem of too many IMAP ESTABLISH. > > I use PHP and IMAP to provide webmail service. But, > There are more and more established connections > between the web server and the mail server. > > hpptd <-----> imapd 143 > > I constructed a web server using > apache_1.3.14, php-4.0.3pl1, and imap-2000. > > This problem is the same even though > I used imap-4.6 instead. > > Ths FAQ on http://www.php.net metions > "3.3. Where can I get libraries needed to compile some of the > optional PHP extensions? > ==> IMAP* (Win/Unix): > ftp://ftp.cac.washington.edu/imap/old/imap-4.5.tar.Z ". > > Could it be said that only the imap-4.5 is available. > > Thanks! >

« previous php.general (#29315) next »