Ujjwal Ojha
Ujjwal Ojha

Reputation: 1360

Apache and Command Prompt running two different version of PHP on windows

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.

Upvotes: 0

Views: 423

Answers (1)

jameslafferty
jameslafferty

Reputation: 2172

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.

Upvotes: 1

Related Questions