In php newbie, do not kick much pliz. Imap_open hangs and meet, until you kill the process. Googled, people really complain. I did not find a solution. Indicated
imap_timeout(IMAP_READTIMEOUT, 60);
does not help where to dig? Any thoughts .. Help please, really need.
imap_timeout
timeouts. backtrace from gdb confirms that the problem is in the library and leads to the depth of the C code. Perhaps the problem is specific only for SSL bugs.php.net/bug.php?id=61846 But this is not easier, because Most imap servers now work with encryption only. I finally run the script throughtimeout 15m php imapreader.php
- Shallowtimeout 15m php imapreader.php
script istimeout 15m php imapreader.php
- Agapkintimeout
is a command from coreutils, and therefore is usually available. Runs and after the specified time kills the specified command. 15m - 15 minutes respectively. That is, the script will be killed after 15 minutes no matter what it does and what it does not expect. - Smallset_time_limit();
set does not help either. As a result, now I put a zend-mail, I'm rewriting. - Agapkin