LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-19-2005, 03:15 PM   #1
ProTrooper
LQ Newbie
 
Registered: Aug 2005
Posts: 9

Rep: Reputation: 0
[error] an unknown filter was not added: PHP


I have set up a test web server with ISPConfig to try a PHP shopping system (osCommerce). PHP scripts work but when I try to install the shopping cart system it does nothing at step 2. In the Apache error log it just has this:
[error] an unknown filter was not added: PHP

Does anyone have any suggestions for troubleshooting this problem?
 
Old 10-10-2005, 02:32 PM   #2
doublehelixer
LQ Newbie
 
Registered: Jun 2004
Posts: 9

Rep: Reputation: 0
I had this issue myself until I found the following info about httpd.conf directives:

Since 4.3.2RC the default Apache 2 sapi is the apache2handler and is no
longer filter based. Therefor you should use
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

and not

<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>

If you do want to use the old filter sapi, you need to use
--with-apxs2filter option.

...I had BOTH listed in my httpd.conf, commenting out the Filter directives solved the issue.

- Andy
 
Old 10-26-2005, 02:32 PM   #3
Senza Paura
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Rep: Reputation: 0
Re: [error] an unknown filter was not added: PHP

Quote:
Originally posted by ProTrooper
I have set up a test web server with ISPConfig to try a PHP shopping system (osCommerce). PHP scripts work but when I try to install the shopping cart system it does nothing at step 2. In the Apache error log it just has this:
[error] an unknown filter was not added: PHP

Does anyone have any suggestions for troubleshooting this problem?
I am getting this same error when I try to access the file system, read or write a file. I tripled checked permissions, they seem OK. I have the same PHP code running on Fedora 4, but I cannot get it to run on SUSE 10.0. I really believe it is a configuration problem, but do not know where?

Anyhelp would be much appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot error when raid controler is added sirius-is Linux - Newbie 2 07-07-2005 03:49 AM
postfix and php : recipient unknown jodaog Linux - Software 1 03-13-2005 10:25 AM
php filter file name question feetyouwell Programming 1 01-31-2005 01:48 PM
unknown filter was no added: PHP drenal Linux - Software 1 01-24-2004 09:03 PM
playlist not streaming in PHP(Code added) Xing Programming 1 09-06-2003 01:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration