php.net |  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
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:
35 - 22 = ?
Subscribe to this entry?

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

 [2002-01-02 13:54 UTC] lobbin@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 23:01:27 2024 UTC