Hi,
depending on the platform you are runnning on ( unix/win ) you can use php as a standalone program.
On unix it's named php and php.exe under windows.
Then, there are many ways to run php scripts.
Unix:
Put the line
#!/path_to_php/php
at the beginning of every php script
Windows:
Associate .php extension with php.exe.