I am trying to execute a script which will run for more than 20 mins. I tried to increase the maximum execution time of PHP by ini_set('max_execution_time', 0);
and also set_time_limit(3600);
But nothing works. It returns the following error.
Failed to load resource: the server responded with a status of 500 (Internal Server Error)