php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7623 Servlet API - 'output_buffering=On' writes output to shell
Submitted: 2000-11-03 10:20 UTC Modified: 2001-04-29 11:47 UTC
From: eschmid at blackbeauty dot de Assigned:
Status: Closed Package: Java related
PHP Version: 4.0.0 OS: NT 4 SP 6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: eschmid at blackbeauty dot de
New email:
PHP Version: OS:

 

 [2000-11-03 10:20 UTC] eschmid at blackbeauty dot de
PHP 4.0.0 on NT4SP6 as servlet in tomcat 3.1 or JRun 2.3.3 with SUN JDK 1.2.2 (Build 001).

When 'output_buffering	= On' in php.ini, script output is written to the stdout of the servlet engine, not to the Browser.	

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-29 10:24 UTC] sniper@php.net
Does this happen with PHP 4.0.4pl1? And if it does could you try with the latest CVS build from http://www.php4win.de/

--Jani

 [2001-04-29 11:47 UTC] jmoore@php.net
No feedback.

closing
 [2002-08-07 08:38 UTC] henrik dot hermansson at hem dot passagen dot se
I can confirm this bug in my setup:

PHP 4.2.1 + Tomcat 4.0.4 + Java 1.4.0 (Linux 2.4.7)

Most of the page is produced correct but at some point (usually at a line-break) the output is switched to the servlets output. In my case it ends up in 'catalina.out'.

Changing output_buffering to 'Off' solves the issue.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Dec 07 00:03:49 2021 UTC