#50531 [Fbk]: CLI script stops at fatal error: Maximum execution time of 200 seconds exceeded
| From: | jani@php.net | Date: | Mon, 21 Dec 2009 12:14:50 +0000 |
| Subject: | #50531 [Fbk]: CLI script stops at fatal error: Maximum execution time of 200 seconds exceeded | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-145967@lists.php.net to get a copy of this message | ||
ID: 50531
Updated by: jani@php.net
Reported By: net_php at mojocafe dot jp
Status: Feedback
Bug Type: *General Issues
Operating System: OS 10.6.2
PHP Version: 5.3.1
New Comment:
Maybe this is same as bug #49868 (max_execution_time affected by
max_input_time). So try the latest snapshot first.
Previous Comments:
------------------------------------------------------------------------
[2009-12-21 12:11:33] jani@php.net
The obvious next question is: Where's the reproducing script..?
------------------------------------------------------------------------
[2009-12-21 11:41:04] net_php at mojocafe dot jp
Yes. This is a CLI script.
------------------------------------------------------------------------
[2009-12-21 11:39:48] net_php at mojocafe dot jp
Sorry, yes, the original submission uses the word 'crash' but that was
mistaken: 'terminates with fatal error' is what I meant.
11:36:44 $ php -i | grep _time
allow_call_time_pass_reference => On => On
max_execution_time => 0 => 0
max_input_time => -1 => -1
mysql.connect_timeout => 180 => 180
default_socket_timeout => 60 => 60
------------------------------------------------------------------------
[2009-12-21 11:31:52] jani@php.net
First of all, this is NOT any crash. Does it happen on command line?
What does this output:
# php -i | grep _time
------------------------------------------------------------------------
[2009-12-21 10:47:36] net_php at mojocafe dot jp
$ php --ini
Configuration File (php.ini) Path: /usr/local/etc
Loaded Configuration File: /usr/local/etc/php.ini
Scan for additional .ini files in: /usr/local/etc/php
Additional .ini files parsed: /usr/local/etc/php/extensions.ini
$ grep 200 /usr/local/etc/php/extensions.ini
$ grep 200 /usr/local/etc/php.ini
; Enforce year 2000 compliance (will cause problems with non-compliant
browsers)
memory_limit = 200M ; Maximum amount of memory a script may
consume
(128MB)
; if cgi.nph is enabled it will force cgi to always sent Status: 200
with
; does not currently support this feature (03/17/2002)
I've looked everywhere for the 200 and I can't find one anywhere. Also
the
script is not terminating after 200 seconds but more like
half-an-hour.
Thanks.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/50531
--
Edit this bug report at http://bugs.php.net/?id=50531&edit=1