You may want to check to see if your PHP was installed as a command line app as well as the web browser dso.
You can also install PHP as a command line app too, by turning off the with apache configure element.
If that sounds confusing, sorry... it is. Most OS Distros today, install both php versions (webserver and commandline). But if you did it yourself from scratch, you may not have installed the commandline version as well. Basically you configure and compile it exactly like the web server version, but you leave off the with-apache.
Ok, BACK to your question... YES, you can run PHP as command line (I do it with a TON of cron jobs and also with just server SSH access commands and tools for doing things with email servers, dns servers etc).
I used to use 'wget' with a cron job, to http://localhost/path/to/cron.php ... but that was not reliable, as sometimes apache would be in the middle of a HUP or something else it was doing and conflicted with the run of the cron php to be run as well! AA!!
So I made them into php command line executables, and they work great.
At the extreme very top line of the PHP, you put:
#!/usr/bin/php -q
Then you chmod to be an executable:
chmod 750 /path/to/cron.php
THEN, you can simple type (or put into your crontabs) "/path/to/cron.php" and it will execute. The "-q" option in the header... just tells php to not spit out the content type headers, since itsbeing run as command line, you normally dont want to see that crud.
If yous got more questions about all this rambling I did, don't hesitate to ask.