I installed Apache 2.28 and PHP 5.2.5.
I created a test PHP file as follows:
<?PHP phpinfo(); ?>
...and when I browse to the php file, the browser simply displays the line of code in the php file.
Any ideas?
is the file foo.php, are you browsing http://localhost/foo.php not the file directly on the hdd, also make suer apache is actully running