just out of interest have you enabled short_tags in your PHP.ini?
if you haven't then it won't work.
try this and see what happens!
<?php
echo("HELLO");
?>
look in your PHP.ini for the following entries:
;;;;;;;;;;;;;;;;;;;;
; Language Options ;
;;;;;;;;;;;;;;;;;;;;
; Enable the PHP scripting language engine under Apache.
engine=On
short_open_tag=On
btw - check your apache HTTPD config file for something like this:
ScriptAlias: This controls which directories contain server scripts.
ScriptAliases are essentially the same as Aliases, except that
documents in the realname directory are treated as applications and
run by the server when requested rather than as documents sent to the client.
The same rules about trailing "/" apply to ScriptAlias directives as to
Alias.
#
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache2/cgi-bin/"
ScriptAlias /php/ "c:/php/"
Hope this helps!