Ok I am very new to all this and I have a very probably baic question. So basic that most are going to laugh out loud, but also so basic that someone will be able to answer my question with probably a sentence. I have tried to install PHP on apache and the problem I am is having is that whenever a .php file is opened on the server my browser wants to download it not read it. Can someone please help?
It sounds as if you don't have PHP properly installed and/or you did not compile Apache for PHP support.
I would start by recompiling Apache and PHP. Make sure you read the installation notes carefully.
M. Mann
uncomment the following line in your httpd.conf: AddType application/x-httpd-php .php And make sure you a line like DirectoryIndex index.html index.htm index.php3 index.php with an index.php in it. After you restarted your apache server and ofcourse installed php correctly it should work 🙂
-- Martin
thanks for your help after much trouble I finnally decided to install php triad it makes things a lot easier for me :-)