I'm trying to set up a basic Apache/PHP/MySQL server, but cannot get the PHP bit to work.
I've installed everything via apt-get, as I have done a few times, but it's refusing to work.
If I go to http://192.168.1.56/
I get the apache/debian test page. If I go to http://192.168.1.56/test.php
it asks whether I want to download the file.
The file /etc/apache2/mods-enabled/php5.conf contains
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
The file /etc/apache2/mods-enabled/php5.load contains
LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
And that file exists.
My httpd.conf is here
the apache logs are here
but don't seem to contain anything pertinent.
Any ideas what I've missed?