View Single Post
  #10  
Old 6th February 2006, 13:24
Ivan Ivan is offline
Junior Member
 
Join Date: Oct 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default [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>

Last edited by Ivan; 6th February 2006 at 13:27.
Reply With Quote