0

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.

6
  • Edit your path variable, replacing the path to v5.3 with the path to v5.5. Commented Nov 17, 2013 at 2:36
  • Where do i change the path variable? Commented Nov 17, 2013 at 2:46
  • This guide looks pretty good: howtogeek.com/118594/… Commented Nov 17, 2013 at 5:47
  • Thanks @jameslafferty.It worked perfectly! Commented Nov 17, 2013 at 16:19
  • 1
    Ofcourse! And did it! Commented Nov 18, 2013 at 10:13

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.