title: imap_open fails giving Unable to create selectable TCP socket
body: <p>I have the following code</p>
  
  <pre><code>$mbox = imap_open("{mail.mydomain.com:143/imap/notls}INBOX", "newsletter@mydomain.com","xxxxxxx");
  
   if ($mbox)
   {
    echo "connected";
    imap_close($mbox);
   }
   else
   {
    echo "not connected :&lt;br&gt;" . imap_last_error();
   }
  </code></pre>
  
  <p>It give this output</p>
  
  <pre><code>   not connected :
     Unable to create selectable TCP socket (1919 &gt;= 1024)
  </code></pre>
  
  <p>I am able to telnet to the domain, using
         telnet mail.mydomain.com 443</p>
  
  <pre><code>   A LOGIN username password
     A OK LOGIN Ok
  </code></pre>
  
  <p>What is wrong with my PHP code?</p>