用流浪汉在windows上设置php环境变量

i'm trying to run "php artisan" comands on Windows, but the system returns an error that php variable path isn't set. The problem is that i don't have php installed directly on the Windows system, but it is installed on the vagrant box. Any ideas how to set the windows php environment variable to the vagrant boxe's php?

thanks

If you use Vagrant, you need to set all variables there. To do this, you need to use SSH. You can try built-in vagrant ssh command or any SSH client for Windows (WinSCP for example, connect and then press Ctrl+T for WinSCP Terminal).

Default credentials for vagrant ssh are:

Host: 127.0.0.1
Login: vagrant
Password: vagrant
Port: 2222