Apache 2.2 FastCGI with PHP-FPM downloading files

view story

http://serverfault.com – I'm trying to setup a new server with Apache 2.2 and PHP-FPM 5.4. FPM is started and there are no errors in the error log. Here is my virtual host file: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www <IfModule mod_fastcgi.c> FastCGIExternalServer /var/www/ -socket /var/run/php-fpm5.sock AddHandler php5-fastcgi .php </IfModule> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,den (HowTos)