Hi,
I have a script that has ignore_user_abort(TRUE); at the top and I call it like this
$socket = curl_init("http://...");
curl_setopt($socket, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($socket, CURLOPT_TIMEOUT_MS, 1000);
$result = curl_exec ($socket);
curl_close($socket);
This script does some boring work that I want to run in the background and judging from the result the script starts to do that work but shortly after that it stops. I've tried everything I know and I am really stuck now. May be there is some server config that can be blocking ignore_user_abort()? Please let me know if you have any ideas about this.
PS. set_time_limit() is set to a high value and cpanel is catching all errors into the error log so it is not dying of a fatal error.