473,788 Members | 2,882 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Same error as many......

art

Hi,

I am running PHP 4.3.9 and Apache 2.0.52.

This is the error: an unknown filter was not added: PHP

I've read over 40 suggestions with no luck. Can anyone help? I am
running Cent-OS. does anyone need to see my config files?

Anything would help....

Thank you.....

Jun 27 '08 #1
19 1384
ar*@unsu.com wrote:
I am running PHP 4.3.9 and Apache 2.0.52.
First, update.
This is the error: an unknown filter was not added: PHP
Second, google for that. Really, just about anybody can find the answer in
less than 5 minutes.

--
----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-

Now listening to: Enigma - Le Roi est mort, vive le Roi ! (1996) - [5]
Why!... (4:59) (95.818199%)
Jun 27 '08 #2
ar*@unsu.com wrote:
Hi,

I am running PHP 4.3.9 and Apache 2.0.52.

This is the error: an unknown filter was not added: PHP

I've read over 40 suggestions with no luck. Can anyone help? I am
running Cent-OS. does anyone need to see my config files?

Anything would help....
If only you told us what you did & didn't do.....

Long story short, what usually solves everything:
- load the PHP module (LoadModule php4_module modules/libphp4.so)
- just use a proper AddType application/x-httpd-php .php
- remove ALL SetInputFilter PHP & SetOutputFilter PHP's from your Apache
config.

When in doubt, remove ALL references to PHP in your Apache config, and
just follow the manual:
http://www.php.net/manual/en/install.unix.apache2.php
--
Rik Wasmus
....spamrun finished
Jun 27 '08 #3
art
On Jun 2, 10:30 am, Rik Wasmus <luiheidsgoe... @hotmail.comwro te:
a...@unsu.com wrote:
Hi,
I am running PHP 4.3.9 and Apache 2.0.52.
This is the error: an unknown filter was not added: PHP
I've read over 40 suggestions with no luck. Can anyone help? I am
running Cent-OS. does anyone need to see my config files?
Anything would help....

If only you told us what you did & didn't do.....

Long story short, what usually solves everything:
- load the PHP module (LoadModule php4_module modules/libphp4.so)
- just use a proper AddType application/x-httpd-php .php
- remove ALL SetInputFilter PHP & SetOutputFilter PHP's from your Apache
config.

When in doubt, remove ALL references to PHP in your Apache config, and
just follow the manual:http://www.php.net/manual/en/install.unix.apache2.php
--
Rik Wasmus
...spamrun finished
Here is what I put into my APACHE config file:

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

AddType application/x-httpd-php .php .php3 .php4 .phtml
AddType application/x-httpd-php4-source .php

Probably do not need them both, but I am trying anything. And, I
tried over 20 different suggestions.... ..and nothing has removed the
warning yet........

Thanks.
Jun 27 '08 #4
ar*@unsu.com wrote:
On Jun 2, 10:30 am, Rik Wasmus <luiheidsgoe... @hotmail.comwro te:
>a...@unsu.co m wrote:
>>Hi,
I am running PHP 4.3.9 and Apache 2.0.52.
This is the error: an unknown filter was not added: PHP
I've read over 40 suggestions with no luck. Can anyone help? I am
running Cent-OS. does anyone need to see my config files?
Anything would help....
If only you told us what you did & didn't do.....

Long story short, what usually solves everything:
- load the PHP module (LoadModule php4_module modules/libphp4.so)
- just use a proper AddType application/x-httpd-php .php
- remove ALL SetInputFilter PHP & SetOutputFilter PHP's from your Apache
config.

When in doubt, remove ALL references to PHP in your Apache config, and
just follow the manual:http://www.php.net/manual/en/install.unix.apache2.php
--
Rik Wasmus
...spamrun finished

Here is what I put into my APACHE config file:

<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
remove ALL SetInputFilter PHP & SetOutputFilter PHP's from your
Apache config
Go forth & do so, it shouldn't be that hard. Just let does lines down
easily, gently push them to /dev/null, promising them a graceful
retirement, tell them their work is over now, and never think of them again.

--
Rik Wasmus
....spamrun finished
Jun 27 '08 #5
ar*@unsu.com wrote:
On Jun 2, 10:30 am, Rik Wasmus <luiheidsgoe... @hotmail.comwro te:
>a...@unsu.co m wrote:
>>Hi,
I am running PHP 4.3.9 and Apache 2.0.52.
This is the error: an unknown filter was not added: PHP
I've read over 40 suggestions with no luck. Can anyone help? I am
running Cent-OS. does anyone need to see my config files?
Anything would help....
If only you told us what you did & didn't do.....

Long story short, what usually solves everything:
- load the PHP module (LoadModule php4_module modules/libphp4.so)
- just use a proper AddType application/x-httpd-php .php
- remove ALL SetInputFilter PHP & SetOutputFilter PHP's from your Apache
config.

When in doubt, remove ALL references to PHP in your Apache config, and
just follow the manual:http://www.php.net/manual/en/install.unix.apache2.php
--
Rik Wasmus
...spamrun finished

Here is what I put into my APACHE config file:
>
AddType application/x-httpd-php .php .php3 .php4 .phtml
AddType application/x-httpd-php4-source .php
Euhm, it should be:

AddType application/x-httpd-php4-source .phps

...(if you want it, I never use it, I have an editor with better syntax
highlighting). and NOT (I repeat NOT):

AddType application/x-httpd-php4-source .php

.... which essentially tells Apache to display the source of all your PHP
files, in a nicely formatted & syntax highlighted manner....
--
Rik Wasmus
....spamrun finished
Jun 27 '08 #6
On Mon, 2 Jun 2008 07:57:30 -0700 (PDT), ar*@unsu.com wrote:
>
Hi,

I am running PHP 4.3.9 and Apache 2.0.52.

This is the error: an unknown filter was not added: PHP

I've read over 40 suggestions with no luck. Can anyone help? I am
running Cent-OS. does anyone need to see my config files?

Anything would help....
http://bugs.php.net/bug.php?id=22881

(Short answer for the lazy: filter mechanism not supported anymore on
Apache 2. use apache2handler mechanism via AddType
application/x-httpd-php .php instead.)

--
For their next act, they'll no doubt be buying a firewall running under NT,
which makes about as much sense as building a prison out of meringue.
-- Tanuki
Jun 27 '08 #7
art
On Jun 2, 10:59 am, Rik Wasmus <luiheidsgoe... @hotmail.comwro te:
a...@unsu.com wrote:
On Jun 2, 10:30 am, Rik Wasmus <luiheidsgoe... @hotmail.comwro te:
a...@unsu.com wrote:
Hi,
I am running PHP 4.3.9 and Apache 2.0.52.
This is the error: an unknown filter was not added: PHP
I've read over 40 suggestions with no luck. Can anyone help? I am
running Cent-OS. does anyone need to see my config files?
Anything would help....
If only you told us what you did & didn't do.....
Long story short, what usually solves everything:
- load the PHP module (LoadModule php4_module modules/libphp4.so)
- just use a proper AddType application/x-httpd-php .php
- remove ALL SetInputFilter PHP & SetOutputFilter PHP's from your Apache
config.
When in doubt, remove ALL references to PHP in your Apache config, and
just follow the manual:http://www.php.net/manual/en/install.unix.apache2.php
--
Rik Wasmus
...spamrun finished
Here is what I put into my APACHE config file:
AddType application/x-httpd-php .php .php3 .php4 .phtml
AddType application/x-httpd-php4-source .php

Euhm, it should be:

AddType application/x-httpd-php4-source .phps

..(if you want it, I never use it, I have an editor with better syntax
highlighting). and NOT (I repeat NOT):

AddType application/x-httpd-php4-source .php

... which essentially tells Apache to display the source of all your PHP
files, in a nicely formatted & syntax highlighted manner....
--
Rik Wasmus
...spamrun finished
Thanks for everyone's suggestions. Here is what I changed, but no
luck thus far. And, I am loading LoadModule php4_module modules/
libphp4.so:

AddType application/x-httpd-php .php
AddType application/x-httpd-php4-source .phps

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

[Mon Jun 02 11:47:26 2008] [notice] Digest: generating secret for
digest authentication ...
[Mon Jun 02 11:47:26 2008] [notice] Digest: done
[Mon Jun 02 11:47:26 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Mon Jun 02 11:47:26 2008] [notice] LDAP: SSL support unavailable
[Mon Jun 02 11:47:26 2008] [notice] mod_python: Creating 4 session
mutexes based on 256 max processes and 0 max threads.
[Mon Jun 02 11:47:26 2008] [notice] Apache configured -- resuming
normal operations
[Mon Jun 02 11:47:32 2008] [error] an unknown filter was not added:
PHP
[Mon Jun 02 11:47:32 2008] [error] an unknown filter was not added:
PHP
[Mon Jun 02 11:47:32 2008] [error] an unknown filter was not added:
PHP
Jun 27 '08 #8
On Mon, 02 Jun 2008 18:29:14 +0200, ar*@unsu.com <am****@iwc.net wrote:
On Jun 2, 10:59 am, Rik Wasmus <luiheidsgoe... @hotmail.comwro te:
>a...@unsu.co m wrote:
On Jun 2, 10:30 am, Rik Wasmus <luiheidsgoe... @hotmail.comwro te:
a...@unsu.co m wrote:
Hi,
I am running PHP 4.3.9 and Apache 2.0.52.
This is the error: an unknown filter was not added: PHP
I've read over 40 suggestions with no luck. Can anyone help? I am
running Cent-OS. does anyone need to see my config files?
Anything would help....
If only you told us what you did & didn't do.....
>Long story short, what usually solves everything:
- load the PHP module (LoadModule php4_module modules/libphp4.so)
- just use a proper AddType application/x-httpd-php .php
- remove ALL SetInputFilter PHP & SetOutputFilter PHP's from your
Apache
>config.
>When in doubt, remove ALL references to PHP in your Apache config,
and
>just follow the
manual:http://www.php.net/manual/en/install.unix.apache2.php
>--
Rik Wasmus
...spamrun finished
Here is what I put into my APACHE config file:
AddType application/x-httpd-php .php .php3 .php4 .phtml
AddType application/x-httpd-php4-source .php

Euhm, it should be:

AddType application/x-httpd-php4-source .phps

..(if you want it, I never use it, I have an editor with better syntax
highlighting ). and NOT (I repeat NOT):

AddType application/x-httpd-php4-source .php

... which essentially tells Apache to display the source of all your PHP
files, in a nicely formatted & syntax highlighted manner....

Thanks for everyone's suggestions. Here is what I changed, but no
luck thus far. And, I am loading LoadModule php4_module modules/
libphp4.so:

AddType application/x-httpd-php .php
AddType application/x-httpd-php4-source .phps

<Files *.php>
SetOutputFilter PHP
</Files>
No! No! No!

I'll say it just one more time, after that I'll totally give up.
NO! SETOUTPUTFILTER ! ANYWHERE! IN! YOUR! APACHE! CONFIG!

NO (not, kein, pas, geen, you seem to be no native english speaker....)
SETOUTPUTFILTER !

If you dare to answer you have a SetOutputFilter PHP or SetInputFilter PHP
in your config again... Well, I can't do anything to you, I think I'll go
sit in a corner and sob quietly...
--
Rik Wasmus
....spamrun finished
Jun 27 '08 #9
..oO(ar*@unsu.c om)
>Thanks for everyone's suggestions. Here is what I changed, but no
luck thus far. And, I am loading LoadModule php4_module modules/
libphp4.so:

AddType application/x-httpd-php .php
AddType application/x-httpd-php4-source .phps

<Files *.php>
SetOutputFilter PHP
</Files>
Drop that.

You should read and follow the instructions more carefully. To quote a
quote:

| remove ALL SetInputFilter PHP & SetOutputFilter PHP's from your
| Apache config

All you need are the directives for loading the module and maybe the
AddType stuff, even though there are other ways as well.

But why do you want to use PHP 4 anyway? It is dead. Really dead! It has
officially reached its end of life and the support for it will finally
end in some weeks. PHP 5 is the way to go and PHP 6 is coming soon.

Micha
Jun 27 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2197
by: Roger Withnell | last post by:
I want to validate the data entered into a form text field by calling a function with onblur, doing the validation and, if the input is invalid, giving an alert to the user and returning focus and select to the invalid field to force the user to correct the entry. A simple example is at www.brilley.co.uk/TestInfo.htm The problem is that this example works in IE but not in NN or Safari, which do not return focus or select back to the...
0
1481
by: Megan | last post by:
Hi Everybody- I know that this is a really, really long post, but I wanted to try to give you as much background as possible. So here's a quick overview of the issues I'm asking for help with: 1.) I'm trying to create a many to many relationship, and I get the following Error when I try to enforce referential integrity.
5
1521
by: Lumpierbritches | last post by:
Thank you in advance. I have a database that I've written in Access 97 and have some clients using the program. My question is, when I update tables, so they don't loose their data, is there a way to import, without creating an update query in Access their records? The table names and field names are identical, except for any fields added since the last update. The software is in Beta testing! Is there a way to do this? Michael
14
14315
by: vince | last post by:
Can I add (append) to an xml file that already contains a serialized object, and be able to deserialize to either or both objects from the same file...??? How is this done...?? thanks, vince
3
544
by: Hamilton | last post by:
Hi there, I've seen this error appear a few times in newsgroups but unfortunately I haven't found one that actually provides a solution. I'm basically deploying a new website into an area at a web hosting company and when I try to run the site (which runs in our local IIS server), I get the following error: Server Error in '/New' Application. Compilation Error Description: An error occurred during the compilation of a resource...
1
2938
by: Phoenix_ver10 | last post by:
I have a mailing list with multiple names going to the same addresses. I need one address with all the names for that address on it. I checked out the example on microsoft's site, but A: It doesn't work (error that there is an extra parenthise (sp?) ) and B: Will only let in two names for each record. If there are three, the middle on is deleted. Or to make things simpler, if nothing else, I'd like to add a field in the table that shows...
0
1567
by: delphiconsultingguy | last post by:
Hi all, Spent WAAAYYY too much time trying to figure this out because there's not many good examples out there, so in the interest of sparing y'all from suff'rin same, I've pasted it into eternity for you. Works like a charm. (I know, I know, I love you too) Sean
23
25940
by: Rogiecrockett | last post by:
I am new to this site. I have searched and found similar posts but don't think they are answering my question. I have a basic and simple DB. 4,170,000 records each record being 6 fields. File size is 1 Gb. Monthly I have our I/T person provide me a txt file. I then use an Import Spec and import the data into my table. Over the last 4 months, I have run into a problem where after I OK the Import Spec and go to make the import, I get...
13
504
by: Bill | last post by:
Can someone help me with this error: error C2143: syntax error : missing ';' before 'type' Here is the line it's complaining about: for(int i=0;i<4;i++){ printf("%d",x); }
5
2780
by: Cichy | last post by:
Hello, I'm writing a Client-Server application using sockets (asynchronous). There is a Server (Master) which accepts incoming connections, and Client (Slave). Afetr establishing connections with all Slaves I wanna hit a button "Automatic", then everything must be reorganised, there is an ellection for a new Master. Everything is all right when I'm connecting manually (when I hit a button connect), but after hitting this button...
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10112
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9969
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5399
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4070
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3675
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.