I have installed PHP 4 on suse linux 7 which already had apache running. Everytime I try and open a .php webpage it tries downloading the code rather than opening the page. I have checked the httpd.conf and it has the correct lines in:
AddType application/x-httpd-php .php4 .php3 .phtml .php
Can anybody shed any help on this...
Thanx in advance
regards
Damian Buckley
IF I remember correctly there is a:
DirectoryIndex
add index.php (or add a whole bunch separated by a " ", such as index.phtml index.php3 etc...)
so in the end you will see something like:
DirectoryIndex index.html index.htm index.php index.php3
Did you restart Apache?