Apache Serves Pages as Download after Virtualmin Package Updates

I updated my packages through the Virtualmin Updates tool and now when I browse any of my sites, it tries to download the index.php as [String of characters].part. If you view the file you can see the content of index.php

Here are the packages that were last updated:

acpi-support-base acpid apache2-doc apache2.2-bin apache2.2-common apache2-mpm-prefork apache2-suexec-custom apache2-utils bsdmainutils debhelper dictionaries-common diff diffutils gettext gettext-base libgs8 ghostscript gs-common initscripts kernel-package libasound2 lib32asound2
php5-common php5-cli php5-cgi libapache2-mod-php5 php5-imap php5-mcrypt php5-curl php5-suhosin php5-gd php5-mysql libberkeleydb-perl libc-bin libc6 libc6-i386 libc-dev-bin libc6-dev libdrm-intel1 libdrm2 libjasper1 libjpeg62 liblockfile1 libmailtools-perl libpam-modules libpam-runtime libpam0g libpng12-0 libpq5 libxapian15 locales man-db php-pear php5 php5-dev postgresql-8.4 postgresql-client-8.4 proftpd-basic proftpd-mod-pgsql proftpd-mod-mysql proftpd-mod-ldap quota shared-mime-info sysv-rc sysvinit sysvinit-utils traceroute unzip update-inetd usbutils zip

Since then I’ve tried things like disabling eaccelerator as that was causing errors for apache. Next I disabled imagick.

This is all apache is saying:

[Fri Mar 05 00:28:41 2010] [notice] caught SIGTERM, shutting down
[Fri Mar 05 00:28:42 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Fri Mar 05 00:28:42 2010] [notice] Digest: generating secret for digest authentication …
[Fri Mar 05 00:28:42 2010] [notice] Digest: done
[Fri Mar 05 00:28:42 2010] [notice] Apache/2.2.14 (Debian) DAV/2 mod_fcgid/2.3.5 PHP/5.3.1-5 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14 OpenSSL/0.9.8k configured – resuming normal operations

I can provide SSH access if you email jeffreyalew@gmail.com

btw, apache starts and stops without any errors. But in webmin it shows that it is stopped.

Howdy,

Do you know if you’re using any third party repositories, or if you’re using Debian’s standard packages?

For example, what do you get if you type this:

dpkg -l ‘php5-*’

Also, for the Apache log – make sure you check out the Virtual Server specific logs, located in $HOME/logs/error_log… they may contain some errors specific to that domain.

-Eric

server:~# dpkg -l ‘php5-*’
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
++±==============-==============-============================================
ii php5-cgi 5.3.1-5 server-side, HTML-embedded scripting languag
ii php5-cli 5.3.1-5 command-line interpreter for the php5 script
ii php5-common 5.3.1-5 Common files for packages built from the php
ii php5-curl 5.3.1-5 CURL module for php5
ii php5-dev 5.3.1-5 Files for PHP5 module development
ii php5-gd 5.3.1-5 GD module for php5
rc php5-imagick 2.1.1RC1-1+b1 ImageMagick module for php5
ii php5-imap 5.3.1-5 IMAP module for php5
un php5-json (no description available)
ii php5-mcrypt 5.3.1-5 MCrypt module for php5
un php5-mhash (no description available)
ii php5-mysql 5.3.1-5 MySQL module for php5
un php5-mysqli (no description available)
rc php5-suhosin 0.9.29-1+b1 advanced protection module for php5