What is the right way to configure XMR on CMS and Player?

Hi All,
I’d like to run XMR in the vagrant VM but PHP isn’t available in the VM machine…
So when I try to run
>php xmr.phar
I get this error:
The program 'php' is currently not installed. To run 'php' please ask your administrator to install the package 'php5-cli'
Which is the right way to do that?

Thank you in advance!