#23305 [Asn->Csd]: max_execution_time on CLI mode
| From: | helly@php.net | Date: | Wed, 23 Apr 2003 22:54:12 +0000 |
| Subject: | #23305 [Asn->Csd]: max_execution_time on CLI mode | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-38238@lists.php.net to get a copy of this message | ||
ID: 23305
Updated by: helly@php.net
Reported By: cwl_999 at hotmail dot com
-Status: Assigned
+Status: Closed
Bug Type: Feature/Change Request
Operating System: ANY
PHP Version: 4CVS-2003-04-22 (stable)
Assigned To: helly
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Ok enough of the discussion. Old behavior reverted.
Previous Comments:
------------------------------------------------------------------------
[2003-04-23 16:32:05] helly@php.net
At this time it is the intended behavior. You are expected to have a
dedicated ini file for CLI or have no ini for CLI. The latter can
simply be accomplished by invoking CLI with parameter -n which
suppresses ini parsing. I leave this still open yet.
------------------------------------------------------------------------
[2003-04-23 02:48:04] sniper@php.net
As I mentioned to Marcus before, he broke this.
------------------------------------------------------------------------
[2003-04-22 08:09:40] cwl_999 at hotmail dot com
The new CLI mode on 4.3 version is s'pose to have the
max_execution_time overiden to 0. This doesn't seem to be happening.
---
E:\htdocs>c:\php\cli\php -v
PHP 4.3.2-RC (cli) (built: Apr 22 2003 02:18:25)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies
---
The foolowing code produces
<?
echo ini_get("max_execution_time");
?>
---
E:\htdocs>c:\php\cli\php test4.php
30
---
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23305&edit=1