You will need apache(and PHP) to make it communicate via the browser or you can use PHP CLI to execute PHP files via command prompt.

Ah, Sorry just noticed it has been a while since the last post. It was still on the first page, My apologies