Re: maximum execution time error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx> 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


--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux