Open your PHP file where you need to increase the execution time limit.
Add the ini_set() function at the very beginning of your script (before any other code executes). For example, to set the execution time to 5 minutes (300 seconds), you would add the following line:
ini_set('max_execution_time', 300); // 300 seconds = 5 minutes
Save and run your PHP file. The execution time for that specific script will now be set to 5 minutes. This allows your script to run longer without hitting the default 30-second time limit imposed by PHP.