edink           Sat Jan  3 16:36:19 2004 EDT

  Modified files:              (Branch: PHP_4_3)
    /php-src    NEWS 
    /php-src/sapi/cli   php_cli.c 
  Log:
  MFH: cli overrides php.ini and switches output buffering off.
  
  
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.515 php-src/NEWS:1.1247.2.516
--- php-src/NEWS:1.1247.2.515   Thu Jan  1 19:58:14 2004
+++ php-src/NEWS        Sat Jan  3 16:36:17 2004
@@ -1,6 +1,8 @@
 PHP 4                                                                      NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 2003, Version 4.3.5
+- CLI now overrides php.ini settings and switches off output buffering. This
+  fixes issue described in bug #26755. (Edin)
 - Synchronized bundled GD library with GD 2.0.17
 - Upgraded PCRE library to version 4.5. (Andrei)
 - Updated bundled PostgreSQL library to version 7.4 in Windows distribution.
Index: php-src/sapi/cli/php_cli.c
diff -u php-src/sapi/cli/php_cli.c:1.51.2.29 php-src/sapi/cli/php_cli.c:1.51.2.30
--- php-src/sapi/cli/php_cli.c:1.51.2.29        Thu Aug 28 07:34:51 2003
+++ php-src/sapi/cli/php_cli.c  Sat Jan  3 16:36:18 2004
@@ -655,6 +655,7 @@
                INI_HARDCODED("register_argc_argv", "1");
                INI_HARDCODED("html_errors", "0");
                INI_HARDCODED("implicit_flush", "1");
+               INI_HARDCODED("output_buffering", "0");
                INI_HARDCODED("max_execution_time", "0");
 
                optind = orig_optind;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to