Re: [PHP] maximum execution time error

2005-07-05 Thread James
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 pr

Re: [PHP] maximum execution time error

2005-07-05 Thread Jochem Maas
Greg Donald wrote: On 7/5/05, James <[EMAIL PROTECTED]> 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

RE: [PHP] maximum execution time error

2005-07-05 Thread James
I also just found this... ini_set("max_execution_time", "60") But set_time_limit() seems more flexible, because you can call that in specific places in your script where you might expect long processing time. Thanks! At 10:56 AM -0500 7/5/05, Jay Blanchard wrote: [snip] Is there a way

RE: [PHP] maximum execution time error

2005-07-05 Thread André Medeiros
On Tue, 2005-07-05 at 10:56 -0500, Jay Blanchard wrote: > [snip] > Is there a way to, on a script by script basis, change the maximum > allowed time that a script is allowed to run? > [/snip] > > http://www.php.net/set_time_limit > More specifically... set_time_limit( 0 ); -- PHP General Ma

Re: [PHP] maximum execution time error

2005-07-05 Thread Greg Donald
On 7/5/05, James <[EMAIL PROTECTED]> 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 -- Greg Donald Zend Certified Engineer MySQL Core Certificatio

RE: [PHP] maximum execution time error

2005-07-05 Thread Jay Blanchard
[snip] Is there a way to, on a script by script basis, change the maximum allowed time that a script is allowed to run? [/snip] http://www.php.net/set_time_limit -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Maximum Execution Time Exceeded

2005-03-28 Thread Marek Kilimajer
[EMAIL PROTECTED] wrote: I would like to know if you could help me.. I don't understand what is wrong! I made a file that is supposed to list 2 categories with the boards that go to them under them. I get a Fatal Error: Maxmimum execution time of 30 seconds exceeded. Here is the file that gives

Re: [PHP] Maximum execution time

2003-12-05 Thread James Hicks
On Friday 05 December 2003 05:22 pm, John J Foerch wrote: > Hi, > Is there some way to turn off maximum execution time? Preferably > within the script itself? > Thanks, > John set_time_limit(0); zero is for not timeout, change to # of seconds if you want. James -- PHP General Mailing Lis

RE: [PHP] Maximum execution time

2003-12-05 Thread Pablo Gosse
John J Foerch wrote: > Hi, > Is there some way to turn off maximum execution time? > Preferably within the script itself? Thanks, John ini_set('max_execution_time',0); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Maximum execution time exceeded when using dial up

2003-03-06 Thread Niklas Lampén
My short answer: set_time_limit(); Niklas -Original Message- From: Andras Kende [mailto:[EMAIL PROTECTED] Sent: 7. maaliskuuta 2003 9:05 To: 'php list' Subject: [PHP] Maximum execution time exceeded when using dial up Hello, I have database while query which populates cells in a ht

Re: [PHP] Maximum execution time of 30 seconds exceeded

2001-12-06 Thread Jon Farmer
> The timeout is set in php.ini Only change it in php.ini if you want it to be serverwide. For a specific script use set_time_linit(). Regards Jon -- Jon Farmer Systems Programmer, Entanet www.enta.net Tel 01952 428969 Mob 07763 620378 PGP Key available, send email with subject: Send PGP Key

RE: [PHP] Maximum execution time of 30 seconds exceeded

2001-12-06 Thread Richard Black
The timeout is set in php.ini -Original Message- From: Christoph Starkmann [SMTP:[EMAIL PROTECTED]] Sent: 06 December 2001 17:09 To: [EMAIL PROTECTED] Subject:[PHP] Maximum execution time of 30 seconds exceeded Hi everybody! I wrote a script just to do some local replac

Re: [PHP] Maximum execution time of 30 seconds exceeded

2001-12-06 Thread Jon Farmer
> I wrote a script just to do some local replacement stuff here on my own > machine. > Is there any way to change the maximum execution time of PHP which seems to > be > restricted to 30 seconds > > Would be great if you could give me a hint on how to change this... http://www.php.net/manual

Re: [PHP] Maximum execution time of 30 seconds exceeded

2001-12-06 Thread Andrey Hristov
set_time_limit(0); // no limit set_time_limit(60); // 60 seconds Regards, Andrey - Original Message - From: "Christoph Starkmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 06, 2001 7:09 PM Subject: [PHP] Maximum execution time of 30 seconds exceeded > Hi eve

RE: [PHP] Maximum execution time of 30 seconds exceeded...

2001-05-03 Thread heinisch
D]] >Sent: Thursday, May 03, 2001 5:53 AM >To: 'Kraa de Simon'; Php-General (E-mail) >Subject: RE: [PHP] Maximum execution time of 30 seconds exceeded... > > >Change the max_execution_time setting in your php.ini file. > >You can also do it on a per-script basis but I

RE: [PHP] Maximum execution time of 30 seconds exceeded...

2001-05-03 Thread Michael Geier
set_time_limit(n) where n is number of seconds (or 0 for no time limit) -Original Message- From: Jon Haworth [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 5:53 AM To: 'Kraa de Simon'; Php-General (E-mail) Subject: RE: [PHP] Maximum execution time of 30 second

Re: [PHP] Maximum execution time of 30 seconds exceeded...

2001-05-03 Thread elias
Never tried it though! But what if you try this: > http://www.progress.com/services/support/cgi-bin/techweb-kbase.cgi/web kb.html?TAB=dsp&kbid=' . $i)); $fp = fopen ($DOCUMENT_ROOT . "/" . $i . ".html", "w"); fwrite($fp, $lines, strlen($lines));

RE: [PHP] Maximum execution time of 30 seconds exceeded...

2001-05-03 Thread Jon Haworth
Change the max_execution_time setting in your php.ini file. You can also do it on a per-script basis but I can't remember how OTOH - a search on the manual should find it though. HTH Jon -Original Message- From: Kraa de Simon [mailto:[EMAIL PROTECTED]] Sent: 03 May 2001 11:48 To: Php-G

Re: [PHP] Maximum execution time exceeded!

2001-01-29 Thread Kyle Jerviss
That loop will never end. Generally, the loop body should manipulate some part of the loop ending condition. initialize $i before the loop replace the second loop with "if($prescene2==0){$i++;}" Chakravarthy K Sannedhi wrote: > > hi all, > > when i am trying to calculate the number of rows wi

Re: [PHP] Maximum execution time exceeded!

2001-01-29 Thread Josh G
Of course, you have this code: > while ($prescene2 == 0) { > $i=$i+1; > } Where $prescnene2 is not modified, hence you get an endless loop. When you increase the timeout, that loop just gets longer to run. Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads t

Re: [PHP] Maximum execution time

2001-01-23 Thread Delbono
put this line set_time_limit(500) ; at the beginning of your script if you want to enlarge execution time for 500 seconds. - Original Message - From: "Liam Gibbs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 23, 2001 4:48 PM Subject: [PHP] Maximum execution time

Re: [PHP] Maximum execution time

2001-01-23 Thread Chris Adams
On 23 Jan 2001 07:47:03 -0800, Liam Gibbs <[EMAIL PROTECTED]> wrote: >Can anyone tell me how to up the max. execution time in PHP? I know it's = >been said before, but I can't remember how it's done. You can change the value max_execution_time in php.ini, or your apache configuration files. If yo