I have a very ugly page where I had to set the maximum latency to 2 minutes in PHP at the moment. I use the function set_time_limit(), but from the official documentation I did not understand how global the "setting" is.
This ad unit seems to imply that it is limited to a specific script:
The set_time_limit () function and the max_execution_time configuration directive only affect the execution time of the script itself. Any time spent on activity that occurs outside of the execution of the script, such as system calls using system (), thread operations, database queries, etc., is not taken into account when determining the maximum execution time of the script. This does not apply to Windows, where the measured time is real.
Basically, I want to double check that installing this one-time into one script does not affect the maximum execution time for any other script at all, right? Will starting any other page still have a default timeout? No other page (in fact, no other function) requires this timeout.
source
share