This error often seen in Apache: [Fri Oct 08 14:49:18 2004] [Error] An Unknown Filter Was Not Added: PHP [fri oct 08 14:49:18 2004] [Error] An Unknown Filter WAS NOT Add: PHP [ERROR] An unknown filter was not added: php [fri oct 08 14:49:20 2004] An unknown filter was not added: PHP [ FRI Oct 08 14:49:40 2004] An Unknown Filter Was Not Added: PHP's own version of: [root @ eye logs] # apachectl -vserver version: Apache / 2.0.49server Built: Jun 15 2004 16:55:22 It is still not enough, just checked it, found the answer:
[25 Mar 2003 1:56 PM CET] BUGS AT POINTB DOT CO DOT UK
Hi,
I Have Re-Installed PHP As a DSO Module on Apache 2.0.44 and i am Unable
To Use the new filter options. in v4.3.1 i could use the folload:
SetOutputFilter PHP
SetInputFilter PHP
Files>
SetOutputFilter PHP
SetInputFilter PHP
Files>
When I use this i am prompted to download the script and i get the
FOLLOWING in My Error Log:
[Error] An unknown filter was not added: PHP
However if i use the older formatting with 4.3.2rc1 all works Well:
AddType Application / X-httpd-php .php
AddType Application / X-httpd-php-source .phps
IS this a bug, or have i missed some documentation Tells me this is
No longer inclished?
THANKS.
[25 Mar 2003 2:54 PM CET] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. please double-check the documentation available at
Http://www.php.net/manual/ and the instructions on how to report
A bug at http://bugs.php.net/how-to-report.php
Since 4.3.2rc the default apache 2 Sapi is the apache2handler and is no
LONGER FILTER BASED. THHEREFOR You Should Uses
AddType Application / X-httpd-php .php
AddType Application / X-httpd-php-source .phpsand Not
SetOutputFilter PHP
SetInputFilter PHP
Files>
If you do want to use the old filter sapi, you need to us
--with-apxs2filter opt.
[25 Mar 2003 2:55 PM CET] ilia@php.net
r文 link: http://bugs.php.net/bug.php? id = 22881