En /etc/php.ini encontrar la insctrucción max_execution_time
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
;max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_execution_time = 3600 ;
;max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
max_input_time = 1800 ;
;memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
memory_limit = 200M ;