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
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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.

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: Fri Apr 26 21:01:29 2024 UTC