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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Sun Oct 27 16:01:27 2024 UTC