|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #40499 Add highlightning filter
Submitted: 2007-02-15 18:31 UTC Modified: 2021-07-30 11:56 UTC
Avg. Score:3.0 ± 2.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:2 (100.0%)
From: php at henke37 dot cjb dot net Assigned: cmb (profile)
Status: Wont fix Package: Apache2 related
PHP Version: * OS: *
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: php at henke37 dot cjb dot net
New email:
PHP Version: OS:


 [2007-02-15 18:31 UTC] php at henke37 dot cjb dot net
The apache2 sapi does not provide an easy way to invoke the file highlighter as an normal filter.

Reproduce code:
Apache config example:
SetOutputFilter PHP-highlight

Expected result:
It should work and highlight the files that the config line applies to.

Actual result:
It will cause apache to not accept the config complaining about the filter not known


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-31 21:09 UTC]
-Summary: filter sapi does not register any highlightning filter +Summary: Add highlightning filter -Package: Feature/Change Request +Package: Apache2 related -Operating System: any +Operating System: * -PHP Version: 6CVS-2007-02-15 (CVS) +PHP Version: *
 [2021-07-30 11:56 UTC]
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2021-07-30 11:56 UTC]
If you still feel that highlighting of PHP sources is important
enought to be supported by php-src (instead of some library, maybe
not even running on the server), please pursue the RFC process[1].

[1] <>
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Feb 05 04:05:48 2023 UTC