![]() |
[error] an unkown filter was not added: PHP
Hi all!
I have installed ISPConfig following the Perfect Setup - Debian Sarge guide, but for now I'm having certain problems with my server. One of them is this: On /var/log/apache2/error.log I see that it's plenty of errors like [Thu Aug 11 17:27:37 2005] [error] an unknown filter was not added: PHP [Thu Aug 11 17:27:37 2005] [error] an unknown filter was not added: PHP [Thu Aug 11 17:27:42 2005] [error] an unknown filter was not added: PHP [Thu Aug 11 17:27:42 2005] [error] an unknown filter was not added: PHP [Thu Aug 11 18:27:05 2005] [error] an unknown filter was not added: PHP [Thu Aug 11 18:27:05 2005] [error] an unknown filter was not added: PHP [Thu Aug 11 18:27:52 2005] [error] an unknown filter was not added: PHP [Thu Aug 11 18:27:52 2005] [error] an unknown filter was not added: PHP [Thu Aug 11 18:27:54 2005] [error] an unknown filter was not added: PHP [Thu Aug 11 18:27:54 2005] [error] an unknown filter was not added: PHP So I wonder if I make any mistake in the guide or just a common problem with apache2 and php4... I have googled a bit and found something about: "Regardless, you should replace those <Files *.php> with AddType application/x-httpd-php .php and similarly for .php3 etc." But I couldn't see anything of this on php.conf ... Can anybody help me? Thanks and sorry for my english. |
Is the PHP module enabled in your Apache?
Try this: Code:
cd /etc/apache2/mods-enabled |
I found this:
lrwxrwxrwx 1 root root 37 Aug 5 17:35 php4.conf -> /etc/apache2/mods-available/php4.conf lrwxrwxrwx 1 root root 37 Aug 5 17:35 php4.load -> /etc/apache2/mods-available/php4.load So I suppose the answer is: yes. |
Same problem here
I checked those links and they are ok.
lrwxrwxrwx 1 root root 37 Aug 8 20:31 php4.conf -> /etc/apache2/mods-available/php4.conf lrwxrwxrwx 1 root root 37 Aug 8 20:31 php4.load -> /etc/apache2/mods-available/php4.load Jysse error.log: [Mon Aug 15 08:58:15 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2) [Mon Aug 15 08:58:17 2005] [notice] Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-15 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.4 configured -- resuming normal operations [Mon Aug 15 08:58:34 2005] [error] an unknown filter was not added: PHP [Mon Aug 15 08:58:34 2005] [error] an unknown filter was not added: PHP |
Did you follow the tutorial http://www.howtoforge.com/perfect_setup_debian_sarge step by step? Did you make any changes?
|
Quote:
Jysse |
Quote:
|
PHP Bug #22881 says: (it is not a bug!)
Quote:
|
Disable something in vhosts/Vhosts_ispconfig.conf
my mistake
|
[error] an unknown filter was not added: PHP
I have the same problem, tries:
ln -s /etc/httpd/mods-available/php5.conf php5.conf ln -s /etc/httpd/mods-available/php5.load php5.load /etc/init.d/httpd restart But the problem I am not solved. If he is not bug like solving it to install an application My vhost is : DocumentRoot /var/www/web33/web DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm ScriptAlias /cgi-bin/ /var/www/web33/cgi-bin/ AddHandler cgi-script .cgi AddHandler cgi-script .pl ErrorLog /var/www/web33/log/error.log AddType application/x-httpd-php .php .php3 .php4 .php5 AddType application/x-httpd-php-source .phps <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> php_admin_flag safe_mode Off php_admin_value open_basedir /var/www/web33/ php_admin_value file_uploads 1 php_admin_value upload_tmp_dir /var/www/web33/phptmp/ php_admin_value session.save_path /var/www/web33/phptmp/ AddType text/html .shtml AddOutputFilter INCLUDES .shtml AddOutputFilter INCLUDES .shtml Alias /error/ "/var/www/web33/web/error/" ErrorDocument 400 /error/invalidSyntax.html ErrorDocument 401 /error/authorizationRequired.html ErrorDocument 403 /error/forbidden.html ErrorDocument 404 /error/fileNotFound.html ErrorDocument 405 /error/methodNotAllowed.html ErrorDocument 500 /error/internalServerError.html ErrorDocument 503 /error/overloaded.html AliasMatch ^/~([^/]+)(/(.*))? /var/www/web33/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web33/user/$1/web/$3 </VirtualHost> |
| All times are GMT +2. The time now is 20:34. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.