In what scenarios would it be advisable to start a new request instead of extending the execution time of a PHP script?

When a PHP script is taking too long to execute, it can lead to performance issues and potentially cause the server to time out. In such scenarios, it is advisable to start a new request instead of extending the execution time of the current script. This approach helps in distributing the workload and prevents the server from being overloaded.

// Example of starting a new request instead of extending execution time

// Redirect to a new script
header("Location: new_script.php");
exit;