RE: [PHP-WIN] max_execution_time
| From: | Vincent DUPONT | Date: | Tue, 10 Oct 2006 23:05:28 +0000 |
| Subject: | RE: [PHP-WIN] max_execution_time | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-27223@lists.php.net to get a copy of this message | ||
Hello
I don't know for CLI, but on web pages I can avoid the time limit with a
simple
set_time_limit (0);
I did also this into scripts that were run at the command line...
This should really work I guess.
Vincent
-----Original Message-----
From: Niel Archer [mailto:Niel Archer] On Behalf Of Niel Archer
Sent: mardi 10 octobre 2006 22:58
To: php-windows@lists.php.net
Subject: [PHP-WIN] max_execution_time
Hi all
I'm using the CLI version to process data files. But I keep getting the
"Fatal error: Maximum execution time of 60 seconds exceeded in..."
error.
When I try phpinfo() it lists the value as 30 seconds (the default). My
php.ini doesn't have a max_execution_time setting. The manual tells me
it should default to 0 (no limt) in CLI mode.
Anyone have a clue what's happening and how to stop the script timing
out?
Niel
--
PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php