I have a page processing huge data so once reach 5 minutes the page stop. So now I have put a .htacess file in my local folder with the below settings. Then I still get the same error I have restarted the httpd. But when I check the phpinfo local value still showing me 300 as the maximum execution time.
max_execution_time = 6000; Maximum execution time of each script, in seconds
max_input_time = 6000 ; Maximum amount of time each script may spend parsing request data
;max_input_nesting_level = 64 ; Maximum input variable nesting level
memory_limit = 6000M ; Maximum amount of memory a script may consume (16MB)