I\'m having a problem with my PHP file that takes more than 30 seconds to execute.
After searching, I added set_time_limit(0); at the start of the code,
set_time_limit(0);
Check the php.ini
ini_set('max_execution_time', 300); //300 seconds = 5 minutes ini_set('max_execution_time', 0); //0=NOLIMIT