Faqts : Computers : Programming : Shopping For You : PHP : Function Libraries : PHP Related

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

102 of 113 people (90%) answered Yes
Recently 10 of 10 people (100%) answered Yes

Entry

Why do I get the error "Maximum execution time exceeded"?
How can I change the max execution time in PHP?

May 15th, 2000 20:35
Nathan Wallace, Michael Dearman, Richard Lynch


PHP scripts are aborted after the maximum execution time has been
exceeded.  The default is 30 seconds.  You can change this setting in
your .ini file (if unix or GNU/Linux) for

    max_execution_time = 50

Or, in your PHP script you can use:

    set_time_limit(50);