Forum Moderators: phranque

Message Too Old, No Replies

SetOutputFilter PHP

[error] an unknown filter was not added: PHP

         

cherrick

10:40 pm on Feb 16, 2005 (gmt 0)

10+ Year Member



I have the following lines in my Apache 2.0.52 httpd.conf file:
SetOutputFilter PHP
SetInputFilter PHP
enclosed within a <Location ...> block.

In my httpd/logs/error_log I see the following error:
[error] an unknown filter was not added: PHP

Can you help with this? The line looks right.

my /var/www/html/.htaccess file contains
Allow from all

jdMorgan

3:06 am on Feb 17, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



According to the Apache documentation, SetFilter defines only two filters [httpd.apache.org], Includes and Deflate. So you may have to use mod_ext_filter [httpd.apache.org] to set up PHP as a filter.

JIm