//Open php.ini file using your favourite text editor. //Look for max_execution_time directive. //max_execution_time = 30 //Set the value for max_execution_time in seconds.