Is there a way to, on a script by script basis, change the maximum
allowed time that a script is allowed to run?
I have a web admin tool that I'm creating which will allow people to
do some mysql database administration. The tool creates a big sql
statement before it executes it.
I'm
[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
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 Certification
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 Mailing
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
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:
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
[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
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 me the error:
Hi,
Is there some way to turn off maximum execution time? Preferably
within the script itself?
Thanks,
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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 List
Hello,
I have database while query which populates cells in a html table, but
noticed if using a slow dial up connection its times out...
Fatal error: Maximum execution time of 60 seconds exceeded in
D:\website\eis-vieworderlookup.php on line 75
What's the best way to deal with this??
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
Ok, i got this script i run on my server, this script runs exactly 47 secs
or so (45 to 49) each time i run it. I run it from the command line cause
it's going to be a CRON job i'll run every month.
My question is, why after 47 seconds or so does my script end saying:
bFatal error/b: Maximum
Hi everybody!
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...
Thanx alot,
Kiko
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 everybody
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...
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
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
Hi,
Any ideas how to get by the following error?
Fatal error: Maximum execution time of 30 seconds exceeded in c:\program
files\nusphere\apache\htdocs\test.php on line 8
?
for($i=1;$i=9;$i++)
{
$lines = join(,
-General (E-mail)
Subject: [PHP] Maximum execution time of 30 seconds exceeded...
Hi,
Any ideas how to get by the following error?
Fatal error: Maximum execution time of 30 seconds exceeded in c:\program
files\nusphere\apache\htdocs\test.php on line 8
?
for($i=1;$i=9;$i
Never tried it though!
But what if you try this:
form name=myform method=post action=?=$PHP_SELF?
? if (!isset($i) $i = 0; else $i++; ?
input type=hidden name=i value=?=$i?
/form
?
$lines = join(,
file('http://www.progress.com/services/support/cgi-bin/techweb-kbase.cgi/web
Hi,
(PHP 4.0.3pl1 on Apache/1.3.14)
I hope somebody can help me. I'm at my wit's end with this one. I need to
use a shutdown function that does something only if it was called due to a
connection timeout. I register a shutdown fuction and provoke a timeout;
the function is called. But it sees
Hi,
(PHP 4.0.3pl1 on Apache/1.3.14)
I hope somebody can help me. I'm at my wit's end with this one. I need to
use a shutdown function that does something only if it was called due to a
connection timeout. I register a shutdown fuction and provoke a timeout;
the function is called. But it sees
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 seconds exceeded
, 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 can't remember how OTOH - a
search on the manual should
hi all,
when i am trying to calculate the number of rows with a '0' in a
particular column using the following code, it is giving the 'Maximum
execution time exceeded' message, eventhough after i gave
set_time_limit(60), it didn't worked, infact now it is even worse the
browser is getting
to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message -
From: "Chakravarthy K Sannedhi" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 29, 2001 2:37 PM
Subject: [PHP] Maximum execution time exceeded!
hi all,
when i
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 with
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.
Liam
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 you
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 exec
33 matches
Mail list logo