i'm currently suffering from a problem with my apache server. It won't interpret php after i upgraded my system with
apt-get update
apt-get upgrade
apt-get dist-upgrade
By the way I'm using Debian(Linux version 2.6.32-042stab090.3).
Anyways i've been looking up at various sites to find a solution. They mostly said that in my http.conf/apache2.conf is something missing to include php-files to be interpreted by the php5 interpreter. They suggested that I should add
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
to my configfile and other variations but none of them worked. And yes I restartet the apache2 server after editing the config-file. They also said that the regex of the php5.conf could be wrong and lead to a interpreter which doesn't cares about real php-files or whatever. Also some of them suggested that I should run
sudo apt-get purge libapache2-mod-php5
sudo apt-get remove libapache2-mod-php5
so that the config-files of php were rebuild correctly, but because I lack of luck it also shows an error:
Err http://ftp.us.debian.org/debian/ testing/main libapache2-mod-php5filter amd64 5.6.0~rc2+dfsg-1
404 Not Found [IP: 128.61.240.89 80]
Unable to correct missing packages.
E: Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/php5/libapache2-mod-php5filter_5.6.0~rc2+dfsg-1_amd64.deb 404 Not Found [IP: 128.61.240.89 80]
So then there was another suggest which said that i should check the error.log of apache2, but it shows only non-helpful messages for me.
[Sun Jul 20 01:19:27.468164 2014] [mpm_prefork:notice] [pid 31052] AH00163: Apache/2.4.9 (Debian) PHP/5.6.0RC2 configured -- resuming normal operations
[Sun Jul 20 01:19:27.468204 2014] [core:notice] [pid 31052] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 20 16:22:25.052630 2014] [mpm_prefork:notice] [pid 31052] AH00169: caught SIGTERM, shutting down