From c0d963299ac4a0792a8f89d0b7f098553c249ce4 Mon Sep 17 00:00:00 2001 From: Edin Kadribasic Date: Sat, 3 Jan 2004 21:36:18 +0000 Subject: [PATCH] MFH: cli overrides php.ini and switches output buffering off. --- NEWS | 2 ++ sapi/cli/php_cli.c | 1 + 2 files changed, 3 insertions(+) diff --git a/NEWS b/NEWS index dff8f19270..5d0d57aff5 100644 --- a/NEWS +++ b/NEWS @@ -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. diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index de8e6096a9..b2c08ed6ed 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -655,6 +655,7 @@ int main(int argc, char *argv[]) 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; -- 2.50.1