cvs: php4 /sapi/cli README php_cli.c

From: Date: Sun, 24 Mar 2002 17:14:34 +0000
Subject: cvs: php4 /sapi/cli README php_cli.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-10649@lists.php.net to get a copy of this message
edink Sun Mar 24 12:14:34 2002 EDT Modified files: /php4/sapi/cli README php_cli.c Log: Override max_execution_time, setting it to unlimited. Index: php4/sapi/cli/README diff -u php4/sapi/cli/README:1.2 php4/sapi/cli/README:1.3 --- php4/sapi/cli/README:1.2 Sat Mar 23 18:47:10 2002 +++ php4/sapi/cli/README Sun Mar 24 12:14:34 2002 @@ -15,3 +15,4 @@ * implicit_flush always on * -r option which allows execution of PHP code directly from the command line (e.g. php -r 'echo md5("test");' ) +* max_execution_time is set to unlimited, overriding php.ini setting. Index: php4/sapi/cli/php_cli.c diff -u php4/sapi/cli/php_cli.c:1.13 php4/sapi/cli/php_cli.c:1.14 --- php4/sapi/cli/php_cli.c:1.13 Sat Mar 23 12:10:31 2002 +++ php4/sapi/cli/php_cli.c Sun Mar 24 12:14:34 2002 @@ -397,6 +397,7 @@ SG(options) |= SAPI_OPTION_NO_CHDIR; zend_alter_ini_entry("html_errors", 12, "0", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE); zend_alter_ini_entry("implicit_flush", 15, "1", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE); + zend_alter_ini_entry("max_execution_time", 19, "0", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE); while ((c = ap_php_getopt(argc, argv, OPTSTRING)) != -1) { switch (c) {

« previous php.cvs (#10649) next »