Okay, I’m stumped. I don’t do a lot of PHP in a Production environment, let alone in a DEV/TEST environment, so I usually struggle with server setup from time to time as I only do it once every blue moon or two.
My issue is I have a PHP script that takes a LONG time to execute, it could take hours. So it runs via CLI. However, it just quits after 20 minutes or so. No errors, no logs, nothing. I am using the -c argument to tell it what php.ini to use. The php.ini has display_errors turned on, the error_log is defined to a custom location that has write for owner, group and world, I haven’t touched the max memory setting or any execution time (as those weren’t touched on my prior server). I simply copied the php.ini from the prior server to the new one…
So does anyone have any tricks for diagnosing this type of an issue? The only thing I haven’t ruled out is if the script itself is exiting on its own and it isn’t PHP that’s closing the script (simply because I doubt that is the case, but I may have to profile the script to verify).
I’ve done a few searches, but nothing has turned up yet that seems to be the resolution.
Thanks!