Re: maximum execution time error

From: Date: Tue, 05 Jul 2005 19:27:28 +0000
Subject: Re: maximum execution time error
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-218145@lists.php.net to get a copy of this message
I was actually doing some extreme performance testing with inserts when I got that message. One of my scripts was inserting like 50,000 rows and I was writing one single sql to do it... I figured that because I came across this problem, I might as well find a work around if I run into this problem with my actual app. Thanks for everyone's help. -James At 8:35 PM +0200 7/5/05, Jochem Maas wrote:
Greg Donald wrote:
On 7/5/05, James <jtu@esidesign.com> wrote:
Is there a way to, on a script by script basis, change the maximum allowed time that a script is allowed to run?
ini_set() http://php.net/manual/en/ref.info.php#ini.max-execution-time
also look here: http://php.net/manual/en/function.set-time-limit.php not to mention that the OP has a serious problem if his SQL statement is actually taking longer than 30 seconds to generate! :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
--

« previous php.general (#218145) next »