> 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
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
> 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
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
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
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
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));
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
8 matches
Mail list logo