In this tutorial I will tell you how to setup or run php through command line. It’s very steps process.to configure php command line we need to change to windows environ variables. The environment variable set to all users’ not only specific account, to prevent this you modify environment variable on your user account, So it will effect only your account.