Looking at my /var/log/httpd/error_log I also have LOTS of
[error] an unknown filter was not added: PHP in it!
It looks like the
/etc/httpd/conf/vhost/Vhosts_ispconfig.conf is the problem.
In it there is this
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 is what I found:
Quote:
Since 4.3.2RC the default Apache 2 sapi is the apache2handler and is no
longer filter based. Therefor you should use
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
and not
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
If you do want to use the old filter sapi, you need to use
--with-apxs2filter option.Since 4.3.2RC the default Apache 2 sapi is the apache2handler and is no
longer filter based. Therefor you should use
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
and not
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
If you do want to use the old filter sapi, you need to use
--with-apxs2filter option.
|
I'm not sure if I had this problem with the 'old' ISPconfig.. I'm now using the 2.2.0 version of ISPconfig.
I guess I need to change the
Code:
$go_info["server"]["apache2_php"] = 'both';
to:
Code:
$go_info["server"]["apache2_php"] = 'false';
in the /home/admispconfig/ispconfig/lib/config.inc.php, or can I just disable that line 100% (//) ??
Recent comments
22 hours 45 min ago
22 hours 50 min ago
1 day 3 hours ago
1 day 10 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 16 hours ago
1 day 23 hours ago
2 days 3 hours ago
2 days 5 hours ago