After searching the net for an hour I found the answer to the following problem. For some odd reason I had to manually add the PHP mime-type into the conf/mime.types Apache file!!! You would have though they would have added it already!
Anyway.. here's the mime-type for PHP just in case anyone else has the same problem.
application/x-httpd-php
**********************************************************
I picked up a brand-spanking-new PC this weekend and it's all working fine (which is nice) but I can not for the life of me get PHP running with Apache again!! It worked fine on my last system and I don't know what I'm doing wrong... I running Apache on Windows XP by the way.
I've set-up the Apache httpd config file to load up the relevant PHP related files and it loads up fine with no errors so I'm guessing everything is ok with Apache. However, when I try to run a PHP file I get the PHP code being displayed and not executed.
I've set-up Apache to open index.php files in exactly the same way as I did on my last system.
PLEASE HELP! I LOST WITHOUT PHP!!!