ID:               45502
 Updated by:       [EMAIL PROTECTED]
 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:

1. Get http://snaps.php.net/win32/php5.2-win32-latest.zip
2. Get rid of ALL (and I mean ALL) existing PHP dlls/exes from your
machine. (AFTER stopping your webserver and anything else which might
use them)
3. Install the fresh snapshot.
4. Make sure there are NO php*.ini files in your system.
5. Start your webserver.
6. Check phpinfo(). No php.ini file should have been loaded at this
stage. And output_buffering should have 0 0 for the values. And PHP
version is 5.2.7-dev..



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

[2008-07-23 19:35:22] aren at cambre dot biz

It says "output_buffering       4096    4096" regardless of how I have
output_buffering set in php.ini.

I tried all of the following:
;output_buffering = Off
output_buffering = Off
output_buffering = On
output_buffering = 1234

This is the php.ini inside C:\Program Files (x86)\PHP.

I have run Process Monitor to confirm that this is the only file named
php.ini that is being accessed during PHP execution.

I even reset IIS (iisreset.exe) (yes, while running cmd.exe in
administrative mode), and that had no effect. I had left
output_buffering = 1234, but phpinfo still shows 4096.

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

[2008-07-23 14:06:59] [EMAIL PROTECTED]

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!)


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

[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] [EMAIL PROTECTED]

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

Reply via email to