faqts : Computers : Programming : Languages : PHP : Function Libraries : System

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

53 of 63 people (84%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

When trying to execute "system","exec","passthur",etc.., I get the message "Fatal error: Maximum execution time of 30 seconds exceeded" why?

Jan 19th, 2002 04:43
Flim -, Mike Ciaccio,


This is because php is configured to stop after a maximum of 30 
seconds and the program executed takes more time than that. You can 
fix this by using

set_time_limit ($iSecondsToDelay);

$iSecondsToDelay can be set to '0' to switch timelimit off.

flim