This is caused by the version of apache not being what ISPConfig expects it to be. The ISPConfig virtual hosts file, located /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf, has some configuration file lines that need to be removed. The lines are not a bug but are for different versions of apache.
- <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>
So after initially just removing those lines and restarting apache I located a better solution on the howtoforge.com forums. You can modify the /home/admispconfig/ispconfig/lib/config.inc.php file to actually write the correct configuration for your version of apache. Just switch the following line
- $go_info["server"]["apache2_php"] = 'both';
to
- $go_info["server"]["apache2_php"] = 'addtype';
After that is changed go into the ISPConfig admin interface and update a site so the virtual hosts configuration file is rebuilt. The error should no longer show. You can verify the config was changed by viewing /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf and searching the file for SetOutputFilter which should no longer exist.
When this house of cards falls so will the status quo politicians of our day. ,
Hello Wolf71,
hrmf?
Thanks.
alex