RE: [PHP] Maximum execution time of 30 seconds exceeded...
| From: | heinisch at creaction dot de | Date: | Thu, 03 May 2001 14:05:48 +0000 |
| Subject: | RE: [PHP] Maximum execution time of 30 seconds exceeded... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-51271@lists.php.net to get a copy of this message | ||
At 08:32 03.05.01 -0500, you wrote:
set_time_limit(n) where n is number of seconds (or 0 for no time limit)but DO NOT SET 0 on production-servers, your ISP will, after he killed the processes, kill you :-)
-----Original Message----- From: Jon Haworth [mailto:JHaworth@witanjardine.co.uk] 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 can't remember how OTOH - a search on the manual should find it though. HTH Jon -----Original Message----- From: Kraa de Simon [mailto:Simon.de.Kraa@icl.nl] Sent: 03 May 2001 11:48 To: Php-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<=99999;$i++) { $lines = join("",file('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)); fclose($fp); }?> Met vriendelijke groet / With kind regards, Simon de Kraa ICL Logistic Systems mailto:Simon.de.Kraa@icl.nl