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
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:
MUST BE VALID
Solve the problem:
43 + 8 = ?
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.	

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 23:01:27 2024 UTC