| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
  [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 {127.0.0.1:143}
in the maillog:
May 18 15:01:36 vincelx01 imapd[8025]: imap service init from 127.0.0.1
May 18 15:01:36 vincelx01 imapd[8025]: Command stream end of file, while reading line user=??? host=UNKNOWN
have u a idea?
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             | 
    |||||||||||||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 06:00:01 2025 UTC | 
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: "{127.0.0.1:143/imap/novalidate-cert}". I have found this when i print the array return by imap_errors: "Certificate failure for 127.0.0.1: self signed certificate: /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=localhost.localdomain/Email=root@localhost.localdomain"