Nella pagine in cui vuoi modificare il timeout puoi usare:

set_time_limit(nsecondi);