Apache和命令提示符在Windows上运行两个不同版本的PHP

Yesterday, I installed Pear. During installation it asked me installation path of php. But, i mistakely entered different path. So, Pear installed different php version in that Path.

Problem Now, my apache runs php v5.5 as always. But, from yesterday, command prompt runs v5.3!

How can I make changes so that command prompt runs same version as apache i.e. v5.5.??

I am using windows.

Edit your path variable, replacing the path to v5.3 with the path to v5.5. This guide provides some good info on how to edit the system path.