Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th October 2007, 22:30
omni omni is offline
Member
 
Join Date: Jan 2007
Posts: 62
Thanks: 4
Thanked 1 Time in 1 Post
Default unknown filter was not added: PHP

I have a 1.4.11 squirrelmail installation on my ISPConfig setup. I have an odd problem though, I cannot view my 'Sent' folder within squirrelmail. I am seeing this error in my /var/log/apache2/error.log file

Code:
[Wed Oct 24 14:28:44 2007] [error] an unknown filter was not added: PHP
[Wed Oct 24 14:28:44 2007] [error] an unknown filter was not added: PHP
Allowed memory size of 8388608 bytes exhausted (tried to allocate 130 bytes)
any ideas? Thank you in advance.
Reply With Quote
Sponsored Links
  #2  
Old 25th October 2007, 11:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Please have a look here:

http://www.howtoforge.com/forums/showthread.php?t=15273
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 25th October 2007, 15:51
omni omni is offline
Member
 
Join Date: Jan 2007
Posts: 62
Thanks: 4
Thanked 1 Time in 1 Post
Default

just incase anyone else has this problem here is what I did to fix it.

I edited the /etc/apache2/vhosts/Vhosts_ispconfig.conf file and removed the following lines from my vhosts;

Code:
<Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php3>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php4>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php5>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
This solved my 'an unknown filter was not added: PHP' error. I tried the fix
Code:
$go_info["server"]["apache2_php"] = 'addtype';
but that did not work for me *shrugs* I changed it, saved it, restarted ispconfig, changed a site to try and re-write the config, nothing. I even tried different combinations, nothing worked but the other fix above did work for me...

The thing is this particular website is https enabled, well ISPConfig created two virtual host entries in the Vhosts_ispconfig.conf file, but for some reason when I made changes to the site it did not effect the https (site:443) virtual hosts entries in that file only the http (site:80) entry. So I just edited the Vhosts_ispconfig.conf file and added in my
Code:
php_value memory_limit 16M
entry into the https entry (site:443) for the site in question and that then fixed my 'Allowed memory size of 8388608 bytes exhausted' error.

Last edited by omni; 25th October 2007 at 15:55.
Reply With Quote
  #4  
Old 12th December 2007, 13:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
 
Default

Never edit the file /etc/apache2/vhosts/Vhosts_ispconfig.conf manually, its useless as ISPConfig will remove all your changes. The above fix definately works.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freebsd 6.1 support misterm Installation/Configuration 10 9th April 2009 10:29
php eating cpu shajazzi Server Operation 15 15th August 2007 02:19
Apache2 Freezes celtic Server Operation 31 28th May 2007 18:18
Transferring Hard Drive to new System latcarf Installation/Configuration 26 20th February 2007 19:51
ubuntu ispconfig joomla .htaccess steve1084 General 8 6th January 2007 16:55


All times are GMT +2. The time now is 09:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.