cd\php php -f C:\path\to\yourfile.php
If that gives you "Hello world", then you have a problem with your Apache configuration - probably the AddType directive. If that doesn't work then we have a problem with PHP, and you'll just have to give us some more information - like did you build this yourself?
[in my httpd.conf module section] LoadModule php5_module "c:/php/php5apache2.dll" [/in my httpd.conf module section]
[in my httpd.conf directives] AddType application/x-httpd-php .php [/in my httpd.conf directives]
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php