When I create a virtualhost with the default apache settings, everytime I try to run a php file it will download it instead of executing it. When I borrow a snippet from the OMV virtualhost in the directory section of the conf file:
Code
<FilesMatch \.php$>
FcgidWrapper /var/www/openmediavault/php-fcgi .php
SetHandler fcgid-script
Options +ExecCGI
</FilesMatch>
I will get a 500 error. The logging will show:
Code
[Wed May 01 15:14:50 2013] [warn] [client xxx.xxx.xxx.xxx] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Wed May 01 15:14:50 2013] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: info.php
Any thoughts?