Hi,
Indeed, for PHP to work you need an interpreter (PHP). It is a separate program.
The syntax actually resembles javascript quite a bit, but it requires its own engine to run.
It does have some greater advantages over Javascript when you want to do file manipulation.
PHP is often used as a back-end system for databases and information management systems.
Good luck, and if you have any questions regarding PHP feel free to ask.