I do not have access to php.ini on my server. I want to change the maximum execution time so that my script can run for more than 30 seconds.
php.ini
Is there a way to do this at the beginning of my script?
use ini_set
ini_set
ini_set('max_execution_time', 300); // this will set max_execution time for 300 seconds
write this line at the beginning of your code in php file.
OR
use this Hanky ββPanky γ±
set_time_limit(300);