ID:               50531
 Updated by:       j...@php.net
 Reported By:      net_php at mojocafe dot jp
-Status:           Open
+Status:           Feedback
 Bug Type:         *General Issues
 Operating System: OS 10.6.2
 PHP Version:      5.3.1
 New Comment:

The obvious next question is: Where's the reproducing script..?


Previous Comments:
------------------------------------------------------------------------

[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] j...@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.

------------------------------------------------------------------------

[2009-12-21 10:41:32] ahar...@php.net

Run "php --ini" in a terminal and check which configuration files are
actually being loaded. Chances are that something else is being loaded
that you're unaware of. (Particularly since the default in PHP is 30
seconds, and so far as I can tell, there's nowhere in the PHP source
code that could magically set the value to 200 seconds.)

------------------------------------------------------------------------

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

Reply via email to