dongwen1871 2013-11-17 02:33
浏览 94
已采纳

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.

  • 写回答

1条回答 默认 最新

  • duangan9251 2013-11-17 17:37
    关注

    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.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 有没有帮写代码做实验仿真的
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥30 vmware exsi重置后登不上
  • ¥15 c++头文件不能识别CDialog
  • ¥15 Excel发现不可读取的内容
  • ¥15 关于#stm32#的问题:CANOpen的PDO同步传输问题
  • ¥20 yolov5自定义Prune报错,如何解决?