-d max_execution_time
From: Alvaro G Vicario (alvaro_QUITAR_REMOVE_at_telecomputeronline.com)
Date: 11/27/03
- Next message: Jacek: "Socket_read problem"
- Previous message: Robin Goodall: "Re: ugly code!"
- Next in thread: Kevin Thorpe: "Re: -d max_execution_time"
- Reply: Kevin Thorpe: "Re: -d max_execution_time"
- Reply: Pedro Graca: "Re: -d max_execution_time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 27 Nov 2003 11:32:18 +0100
I'm writing a shell script under Red Hat 9 that will process some thousand
records from a database so it'll normally take several minutes. According
to manual I can override the max_execution_time directive using the -d
switch. However, that switch seems to be ignored:
#!/usr/bin/php -d max_execution_time=1 -q
<?
.......
?>
No matter what value I write (0, 1, 9999...) the script stops after 30
seconds:
Maximum execution time of 30 seconds exceeded
The scripts runs as root and PHP is not using safe mode. I'm probably
missing something but I can't figure out what it is. Thank you in advance
for any clue,
-- -- -- Álvaro G. Vicario - Burgos, Spain --
- Next message: Jacek: "Socket_read problem"
- Previous message: Robin Goodall: "Re: ugly code!"
- Next in thread: Kevin Thorpe: "Re: -d max_execution_time"
- Reply: Kevin Thorpe: "Re: -d max_execution_time"
- Reply: Pedro Graca: "Re: -d max_execution_time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|