Set PHP Environment Variables Windows Xampp Or Wamp
To run PHP from command line in windows you just have to add php executable file path to system variable correctly. If you have installed XAMPP, and want to use command line to run PHP on Windows, here is this helpful post for you.
I have already installed XAMPP in my local pc having windows 7, 8 or 10 OS. The most important part is setting path system variable and after learning the steps I described below along with step and image, y