php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24085 imap_open takes long time when not specifying port num
Submitted: 2003-06-08 16:54 UTC Modified: 2003-06-08 18:02 UTC
From: bg at ds dot hj dot se Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.2.2 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bg at ds dot hj dot se
New email:
PHP Version: OS:

 

 [2003-06-08 16:54 UTC] bg at ds dot hj dot se
The PHP-version that I am running is 4.2.2 and not 4.3.2, unfortunately I can't upgrade to reproduce the problem due to the fact that the system isn't mine.

When calling imap_open("{localhost}","user","pass"); and not specifying port number the call takes about 14-15s to complete.

This is not the issue when using a port number when calling:
imap_open("{localhost:143}","user","pass");

This last call takes about 1 sec (in my case) to complete, and it is not due to network instability. I have seen the same problem described in the documentation about imap-support in php.

PHP-version is 4.2.2
php-imap: $Id: php_imap.h,v 1.17.2.1 2002/03/11 23:11:37 derick Exp $

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-08 18:02 UTC] elmicha@php.net
I verified that this is no problem anymore with PHP 4.3.2. If you can't upgrade from PHP 4.2.2, your only option is inventing a time machine, so the PHP developers would be able to fix this before the release of PHP 4.2.2. On the other hand, you could just use "{localhost:143}" (but I certainly would prefer that you would invent that time machine).
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 17:01:30 2025 UTC