How can a PHP script call a second PHP file without the time limit being reached?

When calling a second PHP file from a script, the time limit may be reached if the second file takes too long to execute. To prevent this, you can increase the maximum execution time in the script using the `set_time_limit()` function. This function sets the maximum time a script can run before it is terminated.

// Increase the maximum execution time to 30 seconds
set_time_limit(30);

// Call the second PHP file
include 'second_file.php';