PHP is not recognized as an internal or external command in command prompt

后端 未结 8 1390
情深已故
情深已故 2020-11-29 19:55

I got the following error when I run a command with php

C:\\xampp\\htdocs>php
\'php\' is not recognized as an internal or external command,
o         


        
相关标签:
8条回答
  • 2020-11-29 20:20

    Set "C:\xampp\php" in your PATH Environment Variable. Then restart CMD prompt.

    0 讨论(0)
  • 2020-11-29 20:26

    Is your path correctly configured?

    In Windows, you can do that as described here:

    http://www.computerhope.com/issues/ch000549.htm

    0 讨论(0)
提交回复
热议问题