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
 [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-2020 The PHP Group
All rights reserved.
Last updated: Sat Sep 26 00:01:24 2020 UTC