PHP Getting imap open to work
I just moved my app to the cloud hosting. I was using imap_open to access mails in my gmail account. It worked fine.

    $hostname = '{imap.gmail.com:993/imap/ssl}INBOX';
    $username = '...@gmail.com';
    $password = '****';
    $inbox = imap_open($hostname,$username,$password) or die('Cannot connect to Gmail: ' . imap_last_error());

Now I get an error **Unable to create selectable TCP socket (1176 >= 1024)** Does anybody have any idea about this error. I appreciate any help.

Thanks.
PHP Getting imap open to work
===

I just moved my app to the cloud hosting. I was using imap_open to access mails in my gmail account. It worked fine.

    $hostname = '{imap.gmail.com:993/imap/ssl}INBOX';
    $username = '...@gmail.com';
    $password = '****';
    $inbox = imap_open($hostname,$username,$password) or die('Cannot connect to Gmail: ' . imap_last_error());

Now I get an error **Unable to create selectable TCP socket (1176 >= 1024)** Does anybody have any idea about this error. I appreciate any help.

Thanks.