#41076 [Opn->Bgs]: max_execution_time and max_input_time settings ignored
| From: | tony2001@php.net | Date: | Fri, 13 Apr 2007 14:59:37 +0000 |
| Subject: | #41076 [Opn->Bgs]: max_execution_time and max_input_time settings ignored | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-111453@lists.php.net to get a copy of this message | ||
ID: 41076
Updated by: tony2001@php.net
Reported By: mail at arnebrodowski dot de
-Status: Open
+Status: Bogus
Bug Type: *Configuration Issues
Operating System: Linux
PHP Version: 5.2.1
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Previous Comments:
------------------------------------------------------------------------
[2007-04-13 14:47:36] mail at arnebrodowski dot de
Description:
------------
Settings of max_execution_time and max_input_time in php.ini are
ignored in the cli binary.
works with (see expected result):
$ php -v
PHP 5.1.6 (cli) (built: Sep 13 2006 15:56:23)
doesn't work with:
$ php -v
PHP 5.2.1 (cli) (built: Feb 12 2007 14:36:29)
I checked that the correct php.ini is loaded/parsed with:
$ strace php 2>&1 | grep ini
open("/etc/httpd/php-cli.ini", O_RDONLY) = 3
lstat64("/etc/httpd/php-cli.ini", {st_mode=S_IFREG|0644, st_size=45407,
...}) = 0
Reproduce code:
---------------
$ cat /etc/httpd/php-cli.ini | grep '^max_'
max_execution_time = 300
max_input_time = 300
$ php -r "phpinfo();" | grep '^max_'
Expected result:
----------------
max_execution_time => 0 => 300
max_input_time => -1 => 300
Actual result:
--------------
max_execution_time => 0 => 0
max_input_time => -1 => -1
(as a result my scripts stop processing input after 60 seconds)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41076&edit=1