|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13179 Cannot open two concurrent IMAP connections?
Submitted: 2001-09-06 12:16 UTC Modified: 2002-06-24 23:13 UTC
From: mot at mediaweb dot gr Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.0.6 OS: RedHat Linux 7.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: mot at mediaweb dot gr
New email:
PHP Version: OS:


 [2001-09-06 12:16 UTC] mot at mediaweb dot gr
Consider this:

class foo
  var $con;

  function foo //constructor
    $this->con = imap_open (...);

  function bar
    $other = imap_open (...);
    imap_do_something ($other, ....);
    imap_close ($other);

  function destroy
    imap_do_something($this->con, ....);
    imap_close ($this->con);

$test = new foo();

well, when I open the second IMAP connection ($other), everything works OK. After that, though, if I call some function with the first connection ($this->con) nothing works. Any ideas?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-24 23:13 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 25 07:01:31 2024 UTC