|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
33 + 40 = ?
Subscribe to this entry?

 [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.	


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-29 10:24 UTC]
Does this happen with PHP 4.0.4pl1? And if it does could you try with the latest CVS build from


 [2001-04-29 11:47 UTC]
No feedback.

 [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-2022 The PHP Group
All rights reserved.
Last updated: Tue Jan 25 05:03:35 2022 UTC