#45502 [Opn->Fbk]: Cannot disable output_buffering on Windows Server 2008
| From: | jani@php.net | Date: | Sat, 09 Aug 2008 00:01:04 +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-127817@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:
It's the development version (== not released) of upcoming PHP 5.2.7.
Anyway, if you can't reproduce this problem on some other machine, it's
clearly some isolated problem in your server, in other words: bogus.
Previous Comments:
------------------------------------------------------------------------
[2008-08-08 03:23:29] aren at cambre dot biz
Before I do this, is
http://snaps.php.net/win32/php5.2-win32-latest.zip
a stable release? Or is this experimental?
------------------------------------------------------------------------
[2008-07-24 00:43:04] jani@php.net
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..
------------------------------------------------------------------------
[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] jani@php.net
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.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/45502
--
Edit this bug report at http://bugs.php.net/?id=45502&edit=1