When trying to run a PHP script (CentOS, Apache, PHP 5.2), that may take a long time, it is apparently killed after 45 minutes.
PHP script is invoked from a web browser, and in certain situations, it will do a lot of work processing a POP3 mailbox and sending emails as part of an automated monitoring system.
Running the PHP script from the command line might be a better option, but I want to understand what is going on so far.
I ran a test script, and it appeared to finally give an internal server error (500?) after 45 minutes.
Where is this limit set and what is killing the script, if that is what is happening?
It's running on a shared host on Hostgator.com.