473,800 Members | 2,689 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
19 1386
On Mon, 2 Jun 2008 09:29:14 -0700 (PDT), ar*@unsu.com 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....
--
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
I'm going to make this very simple.

+---REMOVE THE PART THAT LOOKS LIKE THIS---+
| |
v v

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

^ ^
| |
+---REMOVE THE PART THAT LOOKS LIKE THIS---+

NO OUTPUT FILTER Don't use it. take it out. Make it gone. NO NO NO NO

All of this is part of where Rik said "remove ALL SetInputFilter PHP &
SetOutputFilter PHP's from your Apache config". Remember that? It's
still quoted above. If you make a single additional post where you have
NOT taken those filters out of your config, you will be branding
yourself a moron in front of the whole internet forever. Is it out of
your config yet? Go do it right now.

--
45. I will make sure I have a clear understanding of who is responsible for
what in my organization. For example, if my general screws up I will not
draw my weapon, point it at him, say "And here is the price for failure,"
then suddenly turn and kill some random underling. --Evil Overlord List
Jun 27 '08 #11
Rik Wasmus schreef:
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.c om wrote:
On Jun 2, 10:30 am, Rik Wasmus <luiheidsgoe... @hotmail.comwro te:
a...@unsu.c om 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...
Dear Rik,

I think you should really be more clear.
After rereading your post a few times, I get the impression that you
actually suggest to remove the SetOutputFilter from the config.
Why don't you state that more clearly?

Regards,
Erwin Moller
Jun 27 '08 #12
art
On Jun 2, 12:01 pm, Michael Fesser <neti...@gmx.de wrote:
.oO(a...@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
I orginally had that. It was still acting the same. Perhaps this has
something to do with it???

[root@nytelife cgi-bin]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Mon Jun 02 13:05:17 2008] [warn] module php4_module
is already loaded, skipping
[ OK ]

Maybe I'll try upgrading first and see what happens........ .

Jun 27 '08 #13
ar*@unsu.com wrote:
On Jun 2, 12:01 pm, Michael Fesser <neti...@gmx.de wrote:
>.oO(a...@unsu. com)
>>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

I orginally had that. It was still acting the same. Perhaps this has
something to do with it???

[root@nytelife cgi-bin]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Mon Jun 02 13:05:17 2008] [warn] module php4_module
is already loaded, skipping
[ OK ]

Maybe I'll try upgrading first and see what happens........ .
Which generally indicates you have loaded the module more than once....

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Jun 27 '08 #14
art
On Jun 3, 7:50 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:
a...@unsu.com wrote:
On Jun 2, 12:01 pm, Michael Fesser <neti...@gmx.de wrote:
.oO(a...@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
I orginally had that. It was still acting the same. Perhaps this has
something to do with it???
[root@nytelife cgi-bin]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Mon Jun 02 13:05:17 2008] [warn] module php4_module
is already loaded, skipping
[ OK ]
Maybe I'll try upgrading first and see what happens........ .

Which generally indicates you have loaded the module more than once....

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attgl obal.net
=============== ===
Ok, well, then that has nothing to do with the warning message. Time
for a re-install I guess.....

Jun 27 '08 #15
ar*@unsu.com wrote:
On Jun 3, 7:50 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:
>a...@unsu.co m wrote:
>>On Jun 2, 12:01 pm, Michael Fesser <neti...@gmx.de wrote:
.oO(a...@uns u.com)
Thanks for everyone's suggestions. Here is what I changed, but no
luck thus far. And, I am loading LoadModule php4_module modules/
libphp4.s o:
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
I orginally had that. It was still acting the same. Perhaps this has
something to do with it???
[root@nytelife cgi-bin]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Mon Jun 02 13:05:17 2008] [warn] module php4_module
is already loaded, skipping
[ OK ]
Maybe I'll try upgrading first and see what happens........ .
Which generally indicates you have loaded the module more than once....

Ok, well, then that has nothing to do with the warning message. Time
for a re-install I guess.....
No, time to remove the extra LoadModule. You only need it once. But if
you're this uncomfortable altering configuration files a new automated
setup might just what the doctor ordered.
--
Rik Wasmus
....spamrun finished
Jun 27 '08 #16
On Tue, 03 Jun 2008 08:50:57 -0400, Jerry Stuckle wrote:
ar*@unsu.com wrote:
>I orginally had that. It was still acting the same. Perhaps this has
something to do with it???

[root@nytelife cgi-bin]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Mon Jun 02 13:05:17 2008] [warn] module php4_module
is already loaded, skipping
[ OK ]

Maybe I'll try upgrading first and see what happens........ .

Which generally indicates you have loaded the module more than once....
Which is pretty common, because the PHP installer, when used following
commonly-available directions, will cheerfully add a line to load the
module every time the install script is run, without bothering to check
closely whether that line already exists. (Granted, that's not
entirely unreasonable. It's complicated to parse out every permutation
of a config structure to tell if a line's actually going to be processed
or not, and the warning, being a non-fatal error, is generally enough to
let an operator know that human eyeballs are needed to fix it, but it
doesn't need to be fixed immediately.)

--
_ o
|/)
Jun 27 '08 #17
art
On Jun 3, 9:32 am, "Peter H. Coffin" <hell...@ninehe lls.comwrote:
On Tue, 03 Jun 2008 08:50:57 -0400, Jerry Stuckle wrote:
a...@unsu.com wrote:
I orginally had that. It was still acting the same. Perhaps this has
something to do with it???
[root@nytelife cgi-bin]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Mon Jun 02 13:05:17 2008] [warn] module php4_module
is already loaded, skipping
[ OK ]
Maybe I'll try upgrading first and see what happens........ .
Which generally indicates you have loaded the module more than once....

Which is pretty common, because the PHP installer, when used following
commonly-available directions, will cheerfully add a line to load the
module every time the install script is run, without bothering to check
closely whether that line already exists. (Granted, that's not
entirely unreasonable. It's complicated to parse out every permutation
of a config structure to tell if a line's actually going to be processed
or not, and the warning, being a non-fatal error, is generally enough to
let an operator know that human eyeballs are needed to fix it, but it
doesn't need to be fixed immediately.)

--
_ o
|/)
PHP is DUMB! An extra line.....sheesh !
Jun 27 '08 #18
ar*@unsu.com wrote:
On Jun 3, 9:32 am, "Peter H. Coffin" <hell...@ninehe lls.comwrote:
>On Tue, 03 Jun 2008 08:50:57 -0400, Jerry Stuckle wrote:
>>a...@unsu.c om wrote:
I orginally had that. It was still acting the same. Perhaps this has
something to do with it???
[root@nytelife cgi-bin]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Mon Jun 02 13:05:17 2008] [warn] module php4_module
is already loaded, skipping
[ OK ]
Maybe I'll try upgrading first and see what happens........ .
Which generally indicates you have loaded the module more than once....
Which is pretty common, because the PHP installer, when used following
commonly-available directions, will cheerfully add a line to load the
module every time the install script is run, without bothering to check
closely whether that line already exists. (Granted, that's not
entirely unreasonable. It's complicated to parse out every permutation
of a config structure to tell if a line's actually going to be processed
or not, and the warning, being a non-fatal error, is generally enough to
let an operator know that human eyeballs are needed to fix it, but it
doesn't need to be fixed immediately.)

--
_ o
|/)

PHP is DUMB! An extra line.....sheesh !
It has nothing to do with PHP. It's Apache generating the error - as it
will for ANY module you load more than once.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Jun 27 '08 #19
On Tue, 3 Jun 2008 09:58:54 -0700 (PDT), ar*@unsu.com wrote:
>Which is pretty common, because the PHP installer, when used following
commonly-available directions, will cheerfully add a line to load the
module every time the install script is run, without bothering to check
closely whether that line already exists. (Granted, that's not
entirely unreasonable. It's complicated to parse out every permutation
of a config structure to tell if a line's actually going to be processed
or not, and the warning, being a non-fatal error, is generally enough to
let an operator know that human eyeballs are needed to fix it, but it
doesn't need to be fixed immediately.)

PHP is DUMB! An extra line.....sheesh !
If that's the worst you have to complain about in the whole deal, life's
pretty good.

--
69. All midwives will be banned from the realm. All babies will be delivered
at state-approved hospitals. Orphans will be placed in foster-homes, not
abandoned in the woods to be raised by creatures of the wild.
--Peter Anspach's list of things to do as an Evil Overlord
Jun 27 '08 #20

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

Similar topics

4
2198
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
1523
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
14318
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
2939
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
25941
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
2782
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
9690
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
9551
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
10251
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
10033
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...
0
9085
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7576
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
6811
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
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
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

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.