A2 Hosting Forums

Full Version: imap_open problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I was wondering if anybody on a shared plan has managed to successfully complete an imap_open connection to a mailbox from PHP?.

The scripts that I have work great on a local machine but when uploaded to A2 they fail with Unable to create selectable TCP socket (1699 >= 1024). This is probably caused by open TCP sockets in use by the hundreds of other sites on the same machine... I really dont want to have to spend days recoding using another class..

Any tips is greatly appreciated.

Cheers
Frustrated Coder

floppysloth Wrote:
Hi,

I was wondering if anybody on a shared plan has managed to successfully complete an imap_open connection to a mailbox from PHP?.

The scripts that I have work great on a local machine but when uploaded to A2 they fail with Unable to create selectable TCP socket (1699 >= 1024). This is probably caused by open TCP sockets in use by the hundreds of other sites on the same machine... I really dont want to have to spend days recoding using another class..

Any tips is greatly appreciated.

Cheers
Frustrated Coder


Hello Frustrated Coder
I too experience the same problem. But I dont think its a problem caused by open TCP sockets in use by the hundreds of other sites on the same machine. may be with some configuration settings.

grafotech Wrote:

floppysloth Wrote:
Hi,

I was wondering if anybody on a shared plan has managed to successfully complete an imap_open connection to a mailbox from PHP?.

The scripts that I have work great on a local machine but when uploaded to A2 they fail with Unable to create selectable TCP socket (1699 >= 1024). This is probably caused by open TCP sockets in use by the hundreds of other sites on the same machine... I really dont want to have to spend days recoding using another class..

Any tips is greatly appreciated.

Cheers
Frustrated Coder


Hello Frustrated Coder
I too experience the same problem. But I dont think its a problem caused by open TCP sockets in use by the hundreds of other sites on the same machine. may be with some configuration settings.


Thanks... it was what I thought and has just been resolved by L3 Support... Thanks Support Smile

I can now imap_open to my hearts content.

Reference URL's