
23rd February 2007, 11:03
|
|
Senior Member
|
|
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 16 Times in 15 Posts
|
|
Just to add a little bit more salt.....
I noticed this on one of my servers today. One server was oke (with php4), a server with php5 had the same error and the fix as described worked. I tried to search the sources (svn) but I couldn't find where to look in svn://svn.ispconfig.org/ispconfig/trunk/
I have 2.2.9
Last edited by martinfst; 23rd February 2007 at 11:04.
Reason: Nasty typo
|

23rd February 2007, 11:09
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,066
Thanks: 697
Thanked 4,246 Times in 3,259 Posts
|
|
Hi Martin,
this is is not a bug. Some Apache installations need it as it is (filter + addtype) and others as your do nont need the filter tags. But with filter tags it works on all servers, so thats the default.
As you see it is just a setting that should be set directly after the installation in config.inc.php to match your installation.
|

23rd February 2007, 11:14
|
|
Senior Member
|
|
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 16 Times in 15 Posts
|
|
Quote:
|
As you see it is just a setting that should be set directly after the installation in config.inc.php to match your installation.
|
And with every update and update and update ......
Understand now it's needed, but for me really annoying. I just don't like cluttered log files with no additional value of the messages
|

23rd February 2007, 11:17
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,066
Thanks: 697
Thanked 4,246 Times in 3,259 Posts
|
|
Quote:
|
Originally Posted by martinfst
And with every update and update and update ......
Understand now it's needed, but for me really annoying. I just don't like cluttered log files with no additional value of the messages 
|
The code of this setting is read by the setup script and dont overwritten during the update. At least since 2.2.8.
You can see that its not hardcoded in config.php.tmp in the install_ispconfig folder in SVN.
|

23rd February 2007, 11:22
|
|
Senior Member
|
|
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 16 Times in 15 Posts
|
|
Quote:
|
Originally Posted by till
The code of this setting is read by the setup script and dont overwritten during the update. At least since 2.2.8.
You can see that its not hardcoded in config.php.tmp in the install_ispconfig folder in SVN.
|
That's good/excellent news. Thanks!
|

1st April 2008, 01:55
|
|
Junior Member
|
|
Join Date: Aug 2006
Location: Germany
Posts: 12
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by till
This has already been fixed many releases ago. You will just have to change the line from:
$go_info["server"]["apache2_php"] = 'both'; // one string of one or more comma seperated options: 'filter' = set PHP filters, 'addtype' = Set PHP addtype, 'both' = Set Filter + Addtype, 'engine' = Use "php_admin_flag engine on/off", suphp = SuPHP wrapper enabled, 'addhandler' = Set PHP AddHandler (nescessary for SuSE 10.2)
to:
$go_info["server"]["apache2_php"] = 'addtype'; // one string of one or more comma seperated options: 'filter' = set PHP filters, 'addtype' = Set PHP addtype, 'both' = Set Filter + Addtype, 'engine' = Use "php_admin_flag engine on/off", suphp = SuPHP wrapper enabled, 'addhandler' = Set PHP AddHandler (nescessary for SuSE 10.2)
in the file /home/admispconfig/ispconfig/lib/config.inc.php
|
I changed this and made a restart of ispconfig but there is still the same error message in the error_log:
[error] an unknown filter was not added: PHP
Do you have any idea? OS is OpenSuse 10.1
|

1st April 2008, 17:59
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,599 Times in 2,448 Posts
|
|
It's not enough to restart ISPConfig. You must modify the settings of a web site in ISPConfig (e.g. disable SSI and re-enable it again a few minutes later) so that ISPConfig rewrites the Apache configuration.
|
|
The Following User Says Thank You to falko For This Useful Post:
|
|

1st April 2008, 18:22
|
|
Junior Member
|
|
Join Date: Aug 2006
Location: Germany
Posts: 12
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Problem solved. Thanks!
|

28th July 2008, 13:14
|
|
Senior Member
|
|
Join Date: Apr 2008
Posts: 112
Thanks: 2
Thanked 4 Times in 4 Posts
|
|
What about adding an option of "none"? I don't see much sense in adding this to each and every web when I want to have PHP enabled globally, anyway. Then it only adds to the size of the configuration which adds to the size of the config variables that apache needs to hold in RAM for it's own operation.
|

28th July 2008, 13:20
|
|
Senior Member
|
|
Join Date: Apr 2008
Posts: 112
Thanks: 2
Thanked 4 Times in 4 Posts
|
|
Question: Will ISPConfig rewrite the apache config after this change?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 22:55.
|
Recent comments
1 day 47 min ago
1 day 3 hours ago
1 day 15 hours ago
1 day 17 hours ago
1 day 22 hours ago
2 days 4 hours ago
2 days 13 hours ago
2 days 15 hours ago
2 days 23 hours ago
3 days 1 hour ago