|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17308 Connexion problem
Submitted: 2002-05-18 09:05 UTC Modified: 2002-05-23 09:42 UTC
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:3 (100.0%)
From: vince dot h at ifrance dot com Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.2.1 OS: RedHat 7.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
29 - 7 = ?
Subscribe to this entry?

 [2002-05-18 09:05 UTC] vince dot h at ifrance dot com
I have upgrade my server, redhat 7.2 to 7.3 and i have yet some new package for php. I cant make a correct connexion to my imap server: Couldn't open stream {}
in the maillog:
May 18 15:01:36 vincelx01 imapd[8025]: imap service init from
May 18 15:01:36 vincelx01 imapd[8025]: Command stream end of file, while reading line user=??? host=UNKNOWN

have u a idea?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-23 09:31 UTC] denis at cinetica dot it
I have the same problem with a Red Hat 7.3 installation.

PHP packages:

Imap version:
 [2002-05-23 09:36 UTC] vince dot h at ifrance dot com
Ok i have found the solution... i thinks that's a imap server problem. u must add "/imap/novalidate-cert" in your connexion string for ex: "{}". 
I have found this when i print the array return by imap_errors: "Certificate failure for self signed certificate: /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=localhost.localdomain/Email=root@localhost.localdomain"
 [2002-05-23 09:42 UTC]
Yes, this is not PHP problem at all..

 [2002-05-23 09:46 UTC] vince dot h at ifrance dot com
yes but whith a imap client i have no problem to connect to the imap server...
 [2002-05-23 10:35 UTC] denis at cinetica dot it
... and I have no problem connecting from a remote server with redhat 7.2 and php 4.0.6, to the same imap server and without /novalidate-cert...

The /novalidate-cert could be only a workaround... but I don't know what really means this option and if this type of "validation" could be useful...

Sorry if my english is not "perfect" :-)
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 18 05:01:28 2024 UTC