#45502 [Opn->Fbk]: Cannot disable output_buffering on Windows Server 2008

From: Date: Wed, 23 Jul 2008 14:07:00 +0000
Subject: #45502 [Opn->Fbk]: Cannot disable output_buffering on Windows Server 2008
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-127197@lists.php.net to get a copy of this message
 ID:               45502
 Updated by:       jani@php.net
 Reported By:      aren at cambre dot biz
-Status:           Open
+Status:           Feedback
 Bug Type:         PHP options/info functions
 Operating System: Windows Server 2008 x64
 PHP Version:      5.2.6
 Assigned To:      fb-req-jani
 New Comment:

Using this script: <?php phpinfo(); ?>

What _exactly_ is on the full row in phpinfo() about output_buffering?
If you do not set output_buffering at all in your php.ini it won't be
enabled. (default value is 0 for it!)



Previous Comments:
------------------------------------------------------------------------

[2008-07-23 13:46:47] aren at cambre dot biz

phpinfo indicates output_buffering is 4096 regardless of how I have it
set in php.ini.

------------------------------------------------------------------------

[2008-07-23 10:20:50] jani@php.net

What exactly does phpinfo() say for this ini option? 

------------------------------------------------------------------------

[2008-07-13 21:28:07] aren at cambre dot biz

Description:
------------
I cannot disable output_buffering on Windows Server 2008. I have tried
the following in the main php.ini:
* output_buffering = Off
* output_buffering = 0
* ;output_buffering = Off

No matter what I do, output_bufferings stays stuck at 4096.

I installed using the installer. I verified with the latest version of
Sysinternals Process Monitor that the php.ini I am editing, c:\program
files (x86)\php\php.ini is indeed the only php.ini file that is being
opened by *any* process when I execute a php file.

While I believe that they are separate issues,
http://bugs.php.net/bug.php?id=45501 is somewhat
related.

Expected result:
----------------
Output buffering should indicate as disabled or off for at least one of
the variants that I put in php.ini per above.

Actual result:
--------------
Here's the top part of phpinfo:

System 	Windows NT W2K8DCTR6401 6.0 build 6001
Build Date 	May 2 2008 18:01:20
Configure Command 	cscript /nologo configure.js
"--enable-snapshot-build" "--with-gd=shared"
"--with-extra-includes=C:\Program Files (x86)\Microsoft
SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\MFC\INCLUDE"
"--with-extra-libs=C:\Program Files (x86)\Microsoft
SDK\Lib;C:\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\VC98\MFC\LIB"
Server API 	CGI/FastCGI
Virtual Directory Support 	enabled
Configuration File (php.ini) Path 	C:\Windows
Loaded Configuration File 	C:\Program Files (x86)\PHP\php.ini
PHP API 	20041225
PHP Extension 	20060613
Zend Extension 	220060519
Debug Build 	no
Thread Safety 	enabled
Zend Memory Manager 	enabled
IPv6 Support 	enabled
Registered PHP Streams 	php, file, data, http, ftp, compress.zlib
Registered Stream Socket Transports 	tcp, udp
Registered Stream Filters 	convert.iconv.*, string.rot13,
string.toupper, string.tolower, string.strip_tags, convert.*, consumed,
zlib.*



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45502&edit=1



Thread (8 messages)

« previous php.bugs (#127197) next »