how to increase max_execution_time in php.ini code example
Example 1: php code to increase maximum execution time
ini_set('max_execution_time', '300'); //300 seconds = 5 minutes
ini_set('max_execution_time', '0'); // for infinite time of execution
Example 2: max_execution_time php
ini_set ( 'max_execution_time', 1200); //1200 is time in secondss