I have a PHP script without any "set_time_limit()" defined. The PHP.ini max_execution_time = 30 The script opens a mysql connection and performs a variable loop of queries on the same connection, then it closes after processing. The loop is variable, and the script could run anywhere from 1 sec to 1000 sec. I would expect the script to abort at the default 30 second limit, but that doesn't happen.
I suspect the mysql connection is superseding the PHP timeout default and preventing the script from aborting. Does anybody know if this could be possible?
The script is very complex and doesn't make sense to put it here. But it surely has no time limits.
Note: I am not trying to impose a time limit and this behavior is actually good for my script. I just want to know more about this behavior.