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
 [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 Nov 30 01:03:16 2021 UTC