php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #54049 output_buffering enabled by default in development configuration
Submitted: 2011-02-18 21:16 UTC Modified: 2012-03-04 17:38 UTC
From: chealer at gmail dot com Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 5.3.5 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: chealer at gmail dot com
New email:
PHP Version: OS:

 

 [2011-02-18 21:16 UTC] chealer at gmail dot com
Description:
------------
output_buffering is Off by default, but not with the development profile:

; output_buffering
;   Default Value: Off
;   Development Value: 4096
;   Production Value: 4096

I understand why output buffering is enabled in production, however I can't see a reason why it would be disabled by default but enabled in development. I haven't found any rationale for this situation, but my impression is that this is a bug.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-04 17:38 UTC] rasmus@php.net
-Status: Open +Status: Not a bug
 [2012-03-04 17:38 UTC] rasmus@php.net
This isn't a bug. The idea here is that you should know if you are turning on 
output buffering since there can be some side effects as described in the sample 
ini files. Without an ini file, we play it safe and default it to off. If you use 
either the php.ini-development or php.ini-production files, chances are you have 
read through them and thus have some understanding of what you are enabling.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 02 17:01:35 2024 UTC