faqts : Computers : Programming : Languages : PHP : Common Problems : Errors

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

12 of 15 people (80%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

how may I solve the : Maximum Execution time error????

May 28th, 2000 15:52
Simon Roberts, Gastón Gorosterrazú,


In your php3.ini file there is a configuration setting

max_execution_time = 60 ; maximum execution time of each script in 
seconds

See http://www.php.net/manual/configuration.php#ini.max-execution-time

Modify that to allow the PHP more time to complete. Say 300 for 5 
minutes. You can also use the set_time_limit() function to set it while 
a script is running. See http://www.php.net/manual/function.set-time-
limit.php