|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10857 Syntax highlighting does not work with output buffering/compression
Submitted: 2001-05-14 14:05 UTC Modified: 2002-01-02 13:54 UTC
From: ffeingol at webmasters-resources dot com Assigned:
Status: Closed Package: Output Control
PHP Version: 4.0.5 OS: RH Linux 6.x
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.
Block user comment
Status: Assign to:
Bug Type:
From: ffeingol at webmasters-resources dot com
New email:
PHP Version: OS:


 [2001-05-14 14:05 UTC] ffeingol at webmasters-resources dot com
Syntax highlighting (i.e. phps script) appears to be broken if you have output buffering and compression turned on.

in my .htaccess file I had overrode the values for output_buffering and output_handler.

The values were confirmed to be turned on via a phpinfo page.

With the .htaccess file in place, the source was displayed, but there was no color syntaxing.  Once I removed the .htaccess file it worked as expected.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-12 04:34 UTC]
Does this happen with 4.1.0?

 [2002-01-02 13:54 UTC]
No feedback. Closing.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Feb 23 14:01:30 2024 UTC