Closed as not planned
Description
From manual page: https://php.net/function.imap-open
Guys, I encountered a problem, I open "{imap.exmail.qq.com:143}INBOX" every 5 minutes, at least failed one time in 24 hours, it shows "[ error ] [2]imap_open(): Couldn't open stream {imap.exmail.qq.com:143}INBOX", and PHP crashed, ended by "WARNING: [pool www] child 236893 exited on signal 11 (SIGSEGV - core dumped) after 58173.740387 seconds from started".
I want to catch the error by try {}catch(){}, but not work, it is seems imap.so will not recover after opening error. My PHP version is 7.0.
I don't want PHP crash, I want PHP keep running after failed, is any way to do this? thank you very much!