Bug#429401: apache2: Doesn't execute PHP scripts
Package: apache2
Version: 2.2.3-5
Severity: important
The current version of apache2 won't run PHP files. It just sends the
source to the browser instead. I've checked all the config that I know
how to check. The php5.load and php5.conf files are correctly symlinked
from mods-available to mods-enabled and contain respectively:
LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
<IfModule mod_php5.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</IfModule>
/var/log/apache2/error.log contains nothing more informative than:
[Sun Jun 17 20:33:46 2007] [notice] Apache/2.2.3 (Debian) PHP/5.2.3-1
configured -- resuming normal operations
/etc/php5/apache2/php.ini contains:
engine = On
a2enmod php5 says "This module is already enabled!"
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.21.1
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages apache2 depends on:
ii apache2-mpm-prefork 2.2.3-5 Traditional model for Apache HTTPD
apache2 recommends no packages.
-- no debconf information
Reply to: